Class WeightedBakedModel
java.lang.Object
net.minecraft.client.render.model.WeightedBakedModel
- All Implemented Interfaces:
- BakedModel
- Mappings:
- Namespace - Name - official - fmb- intermediary - net/minecraft/class_1097- named - net/minecraft/client/render/model/WeightedBakedModel
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BakedModelprivate final List<Weighted.Present<BakedModel>>private final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a texture that represents the model.booleanhasDepth()booleanbooleanAllows control of the lighting when rendering a model in a GUI.boolean
- 
Field Details- 
totalWeightprivate final int totalWeight- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfmb;a:I- intermediary - field_5433- Lnet/minecraft/class_1097;field_5433:I- named - totalWeight- Lnet/minecraft/client/render/model/WeightedBakedModel;totalWeight:I
 
- 
models- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfmb;b:Ljava/util/List;- intermediary - field_5434- Lnet/minecraft/class_1097;field_5434:Ljava/util/List;- named - models- Lnet/minecraft/client/render/model/WeightedBakedModel;models:Ljava/util/List;
 
- 
defaultModel- Mappings:
- Namespace - Name - Mixin selector - official - c- Lfmb;c:Lflq;- intermediary - field_5435- Lnet/minecraft/class_1097;field_5435:Lnet/minecraft/class_1087;- named - defaultModel- Lnet/minecraft/client/render/model/WeightedBakedModel;defaultModel:Lnet/minecraft/client/render/model/BakedModel;
 
 
- 
- 
Constructor Details- 
WeightedBakedModel- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfmb;<init>(Ljava/util/List;)V- intermediary - <init>- Lnet/minecraft/class_1097;<init>(Ljava/util/List;)V- named - <init>- Lnet/minecraft/client/render/model/WeightedBakedModel;<init>(Ljava/util/List;)V
 
 
- 
- 
Method Details- 
getQuadspublic List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction face, Random random) - Specified by:
- getQuadsin interface- BakedModel
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lflq;a(Lcvo;Lgy;Lamn;)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;- 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;
 
- 
useAmbientOcclusionpublic boolean useAmbientOcclusion()- Specified by:
- useAmbientOcclusionin interface- BakedModel
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lflq;a()Z- intermediary - method_4708- Lnet/minecraft/class_1087;method_4708()Z- named - useAmbientOcclusion- Lnet/minecraft/client/render/model/BakedModel;useAmbientOcclusion()Z
 
- 
hasDepthpublic boolean hasDepth()- Specified by:
- hasDepthin interface- BakedModel
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lflq;b()Z- intermediary - method_4712- Lnet/minecraft/class_1087;method_4712()Z- named - hasDepth- Lnet/minecraft/client/render/model/BakedModel;hasDepth()Z
 
- 
isSideLitpublic 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:
- isSideLitin interface- BakedModel
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lflq;c()Z- intermediary - method_24304- Lnet/minecraft/class_1087;method_24304()Z- named - isSideLit- Lnet/minecraft/client/render/model/BakedModel;isSideLit()Z
 
- 
isBuiltinpublic boolean isBuiltin()- Specified by:
- isBuiltinin interface- BakedModel
- Mappings:
- Namespace - Name - Mixin selector - official - d- Lflq;d()Z- intermediary - method_4713- Lnet/minecraft/class_1087;method_4713()Z- named - isBuiltin- Lnet/minecraft/client/render/model/BakedModel;isBuiltin()Z
 
- 
getParticleSpriteReturns a texture that represents the model.This is primarily used in particles. For example, block break particles use this sprite. - Specified by:
- getParticleSpritein interface- BakedModel
- Returns:
- a texture that represents the model
- Mappings:
- Namespace - Name - Mixin selector - official - e- Lflq;e()Lfke;- intermediary - method_4711- Lnet/minecraft/class_1087;method_4711()Lnet/minecraft/class_1058;- named - getParticleSprite- Lnet/minecraft/client/render/model/BakedModel;getParticleSprite()Lnet/minecraft/client/texture/Sprite;
 
- 
getTransformation- Specified by:
- getTransformationin interface- BakedModel
- Mappings:
- Namespace - Name - Mixin selector - official - f- Lflq;f()Lfay;- intermediary - method_4709- Lnet/minecraft/class_1087;method_4709()Lnet/minecraft/class_809;- named - getTransformation- Lnet/minecraft/client/render/model/BakedModel;getTransformation()Lnet/minecraft/client/render/model/json/ModelTransformation;
 
- 
getOverrides- Specified by:
- getOverridesin interface- BakedModel
- Mappings:
- Namespace - Name - Mixin selector - official - g- Lflq;g()Lfaw;- intermediary - method_4710- Lnet/minecraft/class_1087;method_4710()Lnet/minecraft/class_806;- named - getOverrides- Lnet/minecraft/client/render/model/BakedModel;getOverrides()Lnet/minecraft/client/render/model/json/ModelOverrideList;
 
 
-