类 BasicBakedModel
- java.lang.Object
-
- net.minecraft.client.render.model.BasicBakedModel
-
- 所有已实现的接口:
BakedModel
@Environment(CLIENT) public class BasicBakedModel extends Object implements BakedModel
- Mappings:
Namespace Name official exyintermediary net/minecraft/class_1093named net/minecraft/client/render/model/BasicBakedModel
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classBasicBakedModel.Builder
-
字段概要
字段 修饰符和类型 字段 说明 protected Map<Direction,List<BakedQuad>>faceQuadsprotected booleanhasDepthprotected booleanisSideLitprotected ModelOverrideListitemPropertyOverridesprotected List<BakedQuad>quadsprotected Spritespriteprotected ModelTransformationtransformationprotected booleanusesAo
-
构造器概要
构造器 构造器 说明 BasicBakedModel(List<BakedQuad> quads, Map<Direction,List<BakedQuad>> faceQuads, boolean usesAo, boolean isSideLit, boolean hasDepth, Sprite sprite, ModelTransformation transformation, ModelOverrideList itemPropertyOverrides)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ModelOverrideListgetOverrides()List<BakedQuad>getQuads(@Nullable BlockState state, @Nullable Direction face, Random random)SpritegetSprite()ModelTransformationgetTransformation()booleanhasDepth()booleanisBuiltin()booleanisSideLit()Allows control of the lighting when rendering a model in a GUI.booleanuseAmbientOcclusion()
-
-
-
字段详细资料
-
quads
protected final List<BakedQuad> quads
- Mappings:
Namespace Name Mixin selector official aLexy;a:Ljava/util/List;intermediary field_5411Lnet/minecraft/class_1093;field_5411:Ljava/util/List;named quadsLnet/minecraft/client/render/model/BasicBakedModel;quads:Ljava/util/List;
-
faceQuads
protected final Map<Direction,List<BakedQuad>> faceQuads
- Mappings:
Namespace Name Mixin selector official bLexy;b:Ljava/util/Map;intermediary field_5414Lnet/minecraft/class_1093;field_5414:Ljava/util/Map;named faceQuadsLnet/minecraft/client/render/model/BasicBakedModel;faceQuads:Ljava/util/Map;
-
usesAo
protected final boolean usesAo
- Mappings:
Namespace Name Mixin selector official cLexy;c:Zintermediary field_5415Lnet/minecraft/class_1093;field_5415:Znamed usesAoLnet/minecraft/client/render/model/BasicBakedModel;usesAo:Z
-
hasDepth
protected final boolean hasDepth
- Mappings:
Namespace Name Mixin selector official dLexy;d:Zintermediary field_5413Lnet/minecraft/class_1093;field_5413:Znamed hasDepthLnet/minecraft/client/render/model/BasicBakedModel;hasDepth:Z
-
isSideLit
protected final boolean isSideLit
- Mappings:
Namespace Name Mixin selector official eLexy;e:Zintermediary field_21864Lnet/minecraft/class_1093;field_21864:Znamed isSideLitLnet/minecraft/client/render/model/BasicBakedModel;isSideLit:Z
-
sprite
protected final Sprite sprite
- Mappings:
Namespace Name Mixin selector official fLexy;f:Lewd;intermediary field_5416Lnet/minecraft/class_1093;field_5416:Lnet/minecraft/class_1058;named spriteLnet/minecraft/client/render/model/BasicBakedModel;sprite:Lnet/minecraft/client/texture/Sprite;
-
transformation
protected final ModelTransformation transformation
- Mappings:
Namespace Name Mixin selector official gLexy;g:Leng;intermediary field_5417Lnet/minecraft/class_1093;field_5417:Lnet/minecraft/class_809;named transformationLnet/minecraft/client/render/model/BasicBakedModel;transformation:Lnet/minecraft/client/render/model/json/ModelTransformation;
-
itemPropertyOverrides
protected final ModelOverrideList itemPropertyOverrides
- Mappings:
Namespace Name Mixin selector official hLexy;h:Lene;intermediary field_5412Lnet/minecraft/class_1093;field_5412:Lnet/minecraft/class_806;named itemPropertyOverridesLnet/minecraft/client/render/model/BasicBakedModel;itemPropertyOverrides:Lnet/minecraft/client/render/model/json/ModelOverrideList;
-
-
构造器详细资料
-
BasicBakedModel
public BasicBakedModel(List<BakedQuad> quads, Map<Direction,List<BakedQuad>> faceQuads, boolean usesAo, boolean isSideLit, boolean hasDepth, Sprite sprite, ModelTransformation transformation, ModelOverrideList itemPropertyOverrides)
- Mappings:
Namespace Name Mixin selector official <init>Lexy;<init>(Ljava/util/List;Ljava/util/Map;ZZZLewd;Leng;Lene;)Vintermediary <init>Lnet/minecraft/class_1093;<init>(Ljava/util/List;Ljava/util/Map;ZZZLnet/minecraft/class_1058;Lnet/minecraft/class_809;Lnet/minecraft/class_806;)Vnamed <init>Lnet/minecraft/client/render/model/BasicBakedModel;<init>(Ljava/util/List;Ljava/util/Map;ZZZLnet/minecraft/client/texture/Sprite;Lnet/minecraft/client/render/model/json/ModelTransformation;Lnet/minecraft/client/render/model/json/ModelOverrideList;)V
-
-
方法详细资料
-
getQuads
public List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction face, Random random)
- 指定者:
getQuads在接口中BakedModel- Mappings:
Namespace Name Mixin selector official aLexp;a(Lcjr;Lgg;Ljava/util/Random;)Ljava/util/List;intermediary method_4707Lnet/minecraft/class_1087;method_4707(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Ljava/util/Random;)Ljava/util/List;named getQuadsLnet/minecraft/client/render/model/BakedModel;getQuads(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Ljava/util/Random;)Ljava/util/List;
-
useAmbientOcclusion
public boolean useAmbientOcclusion()
- 指定者:
useAmbientOcclusion在接口中BakedModel- Mappings:
Namespace Name Mixin selector official aLexp;a()Zintermediary method_4708Lnet/minecraft/class_1087;method_4708()Znamed useAmbientOcclusionLnet/minecraft/client/render/model/BakedModel;useAmbientOcclusion()Z
-
hasDepth
public boolean hasDepth()
- 指定者:
hasDepth在接口中BakedModel- Mappings:
Namespace Name Mixin selector official bLexp;b()Zintermediary method_4712Lnet/minecraft/class_1087;method_4712()Znamed hasDepthLnet/minecraft/client/render/model/BakedModel;hasDepth()Z
-
isSideLit
public boolean isSideLit()
Allows control of the lighting when rendering a model in a GUI.True, the model will be lit from the side, like a block.
False, the model will be lit from the front, like an item.
- 指定者:
isSideLit在接口中BakedModel- Mappings:
Namespace Name Mixin selector official cLexp;c()Zintermediary method_24304Lnet/minecraft/class_1087;method_24304()Znamed isSideLitLnet/minecraft/client/render/model/BakedModel;isSideLit()Z
-
isBuiltin
public boolean isBuiltin()
- 指定者:
isBuiltin在接口中BakedModel- Mappings:
Namespace Name Mixin selector official dLexp;d()Zintermediary method_4713Lnet/minecraft/class_1087;method_4713()Znamed isBuiltinLnet/minecraft/client/render/model/BakedModel;isBuiltin()Z
-
getSprite
public Sprite getSprite()
- 指定者:
getSprite在接口中BakedModel- Mappings:
Namespace Name Mixin selector official eLexp;e()Lewd;intermediary method_4711Lnet/minecraft/class_1087;method_4711()Lnet/minecraft/class_1058;named getSpriteLnet/minecraft/client/render/model/BakedModel;getSprite()Lnet/minecraft/client/texture/Sprite;
-
getTransformation
public ModelTransformation getTransformation()
- 指定者:
getTransformation在接口中BakedModel- Mappings:
Namespace Name Mixin selector official fLexp;f()Leng;intermediary method_4709Lnet/minecraft/class_1087;method_4709()Lnet/minecraft/class_809;named getTransformationLnet/minecraft/client/render/model/BakedModel;getTransformation()Lnet/minecraft/client/render/model/json/ModelTransformation;
-
getOverrides
public ModelOverrideList getOverrides()
- 指定者:
getOverrides在接口中BakedModel- Mappings:
Namespace Name Mixin selector official gLexp;g()Lene;intermediary method_4710Lnet/minecraft/class_1087;method_4710()Lnet/minecraft/class_806;named getOverridesLnet/minecraft/client/render/model/BakedModel;getOverrides()Lnet/minecraft/client/render/model/json/ModelOverrideList;
-
-