Class BuiltinBakedModel
java.lang.Object
net.minecraft.client.render.model.BuiltinBakedModel
- All Implemented Interfaces:
BakedModel
- Mappings:
Namespace Name named net/minecraft/client/render/model/BuiltinBakedModel
intermediary net/minecraft/class_1090
official hdp
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final Sprite
private final ModelTransformation
-
Constructor Summary
ConstructorDescriptionBuiltinBakedModel
(ModelTransformation transformation, Sprite sprite, boolean sideLit) -
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.render.model.BakedModel
getOverrides
-
Field Details
-
transformation
- Mappings:
Namespace Name Mixin selector named transformation
Lnet/minecraft/client/render/model/BuiltinBakedModel;transformation:Lnet/minecraft/client/render/model/json/ModelTransformation;
intermediary field_5404
Lnet/minecraft/class_1090;field_5404:Lnet/minecraft/class_809;
official a
Lhdp;a:Lgnc;
-
sprite
- Mappings:
Namespace Name Mixin selector named sprite
Lnet/minecraft/client/render/model/BuiltinBakedModel;sprite:Lnet/minecraft/client/texture/Sprite;
intermediary field_16594
Lnet/minecraft/class_1090;field_16594:Lnet/minecraft/class_1058;
official b
Lhdp;b:Lhbk;
-
sideLit
private final boolean sideLit- Mappings:
Namespace Name Mixin selector named sideLit
Lnet/minecraft/client/render/model/BuiltinBakedModel;sideLit:Z
intermediary field_21862
Lnet/minecraft/class_1090;field_21862:Z
official c
Lhdp;c:Z
-
-
Constructor Details
-
BuiltinBakedModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/model/BuiltinBakedModel;<init>(Lnet/minecraft/client/render/model/json/ModelTransformation;Lnet/minecraft/client/texture/Sprite;Z)V
intermediary <init>
Lnet/minecraft/class_1090;<init>(Lnet/minecraft/class_809;Lnet/minecraft/class_1058;Z)V
official <init>
Lhdp;<init>(Lgnc;Lhbk;Z)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
Lhdm;a(Ldxu;Ljm;Lbam;)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
Lhdm;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
Lhdm;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
Lhdm;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
Lhdm;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
Lhdm;e()Lhbk;
-
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
Lhdm;f()Lgnc;
-