Class BasicBakedModel
java.lang.Object
net.minecraft.client.render.model.BasicBakedModel
- All Implemented Interfaces:
BakedModel
- Mappings:
Namespace Name named net/minecraft/client/render/model/BasicBakedModel
intermediary net/minecraft/class_1093
official grm
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected final boolean
protected final ModelOverrideList
protected final Sprite
protected final ModelTransformation
protected final boolean
-
Constructor Summary
ConstructorDescriptionBasicBakedModel
(List<BakedQuad> quads, Map<Direction, List<BakedQuad>> faceQuads, boolean usesAo, boolean isSideLit, boolean hasDepth, Sprite sprite, ModelTransformation transformation, ModelOverrideList itemPropertyOverrides) -
Method Summary
Modifier and TypeMethodDescriptionReturns a texture that represents the model.boolean
hasDepth()
boolean
boolean
Allows control of the lighting when rendering a model in a GUI.boolean
-
Field Details
-
quads
- Mappings:
Namespace Name Mixin selector named quads
Lnet/minecraft/client/render/model/BasicBakedModel;quads:Ljava/util/List;
intermediary field_5411
Lnet/minecraft/class_1093;field_5411:Ljava/util/List;
official a
Lgrm;a:Ljava/util/List;
-
faceQuads
- Mappings:
Namespace Name Mixin selector named faceQuads
Lnet/minecraft/client/render/model/BasicBakedModel;faceQuads:Ljava/util/Map;
intermediary field_5414
Lnet/minecraft/class_1093;field_5414:Ljava/util/Map;
official b
Lgrm;b:Ljava/util/Map;
-
usesAo
protected final boolean usesAo- Mappings:
Namespace Name Mixin selector named usesAo
Lnet/minecraft/client/render/model/BasicBakedModel;usesAo:Z
intermediary field_5415
Lnet/minecraft/class_1093;field_5415:Z
official c
Lgrm;c:Z
-
hasDepth
protected final boolean hasDepth- Mappings:
Namespace Name Mixin selector named hasDepth
Lnet/minecraft/client/render/model/BasicBakedModel;hasDepth:Z
intermediary field_5413
Lnet/minecraft/class_1093;field_5413:Z
official d
Lgrm;d:Z
-
isSideLit
protected final boolean isSideLit- Mappings:
Namespace Name Mixin selector named isSideLit
Lnet/minecraft/client/render/model/BasicBakedModel;isSideLit:Z
intermediary field_21864
Lnet/minecraft/class_1093;field_21864:Z
official e
Lgrm;e:Z
-
sprite
- Mappings:
Namespace Name Mixin selector named sprite
Lnet/minecraft/client/render/model/BasicBakedModel;sprite:Lnet/minecraft/client/texture/Sprite;
intermediary field_5416
Lnet/minecraft/class_1093;field_5416:Lnet/minecraft/class_1058;
official f
Lgrm;f:Lgpb;
-
transformation
- Mappings:
Namespace Name Mixin selector named transformation
Lnet/minecraft/client/render/model/BasicBakedModel;transformation:Lnet/minecraft/client/render/model/json/ModelTransformation;
intermediary field_5417
Lnet/minecraft/class_1093;field_5417:Lnet/minecraft/class_809;
official g
Lgrm;g:Lgez;
-
itemPropertyOverrides
- Mappings:
Namespace Name Mixin selector named itemPropertyOverrides
Lnet/minecraft/client/render/model/BasicBakedModel;itemPropertyOverrides:Lnet/minecraft/client/render/model/json/ModelOverrideList;
intermediary field_5412
Lnet/minecraft/class_1093;field_5412:Lnet/minecraft/class_806;
official h
Lgrm;h:Lgex;
-
-
Constructor Details
-
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 named <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
intermediary <init>
Lnet/minecraft/class_1093;<init>(Ljava/util/List;Ljava/util/Map;ZZZLnet/minecraft/class_1058;Lnet/minecraft/class_809;Lnet/minecraft/class_806;)V
official <init>
Lgrm;<init>(Ljava/util/List;Ljava/util/Map;ZZZLgpb;Lgez;Lgex;)V
-
-
Method Details
-
getQuads
public List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction face, Random random) - Specified by:
getQuads
in interfaceBakedModel
- Mappings:
Namespace Name Mixin selector named getQuads
Lnet/minecraft/client/render/model/BakedModel;getQuads(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/random/Random;)Ljava/util/List;
intermediary method_4707
Lnet/minecraft/class_1087;method_4707(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_5819;)Ljava/util/List;
official a
Lgrc;a(Ldse;Lje;Lazh;)Ljava/util/List;
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusion
in interfaceBakedModel
- Mappings:
Namespace Name Mixin selector named useAmbientOcclusion
Lnet/minecraft/client/render/model/BakedModel;useAmbientOcclusion()Z
intermediary method_4708
Lnet/minecraft/class_1087;method_4708()Z
official a
Lgrc;a()Z
-
hasDepth
public boolean hasDepth()- Specified by:
hasDepth
in interfaceBakedModel
- Mappings:
Namespace Name Mixin selector named hasDepth
Lnet/minecraft/client/render/model/BakedModel;hasDepth()Z
intermediary method_4712
Lnet/minecraft/class_1087;method_4712()Z
official b
Lgrc;b()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.
- Specified by:
isSideLit
in interfaceBakedModel
- Mappings:
Namespace Name Mixin selector named isSideLit
Lnet/minecraft/client/render/model/BakedModel;isSideLit()Z
intermediary method_24304
Lnet/minecraft/class_1087;method_24304()Z
official c
Lgrc;c()Z
-
isBuiltin
public boolean isBuiltin()- Specified by:
isBuiltin
in interfaceBakedModel
- Mappings:
Namespace Name Mixin selector named isBuiltin
Lnet/minecraft/client/render/model/BakedModel;isBuiltin()Z
intermediary method_4713
Lnet/minecraft/class_1087;method_4713()Z
official d
Lgrc;d()Z
-
getParticleSprite
Returns a texture that represents the model.This is primarily used in particles. For example, block break particles use this sprite.
- Specified by:
getParticleSprite
in interfaceBakedModel
- Returns:
- a texture that represents the model
- Mappings:
Namespace Name Mixin selector named getParticleSprite
Lnet/minecraft/client/render/model/BakedModel;getParticleSprite()Lnet/minecraft/client/texture/Sprite;
intermediary method_4711
Lnet/minecraft/class_1087;method_4711()Lnet/minecraft/class_1058;
official e
Lgrc;e()Lgpb;
-
getTransformation
- Specified by:
getTransformation
in interfaceBakedModel
- Mappings:
Namespace Name Mixin selector named getTransformation
Lnet/minecraft/client/render/model/BakedModel;getTransformation()Lnet/minecraft/client/render/model/json/ModelTransformation;
intermediary method_4709
Lnet/minecraft/class_1087;method_4709()Lnet/minecraft/class_809;
official f
Lgrc;f()Lgez;
-
getOverrides
- Specified by:
getOverrides
in interfaceBakedModel
- Mappings:
Namespace Name Mixin selector named getOverrides
Lnet/minecraft/client/render/model/BakedModel;getOverrides()Lnet/minecraft/client/render/model/json/ModelOverrideList;
intermediary method_4710
Lnet/minecraft/class_1087;method_4710()Lnet/minecraft/class_806;
official g
Lgrc;g()Lgex;
-