Class MultipartBakedModel
java.lang.Object
net.minecraft.client.render.model.MultipartBakedModel
- All Implemented Interfaces:
BakedModel
- Mappings:
Namespace Name named net/minecraft/client/render/model/MultipartBakedModel
intermediary net/minecraft/class_1095
official grk
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
private final List
<Pair<Predicate<BlockState>, BakedModel>> protected final boolean
protected final ModelOverrideList
protected final boolean
protected final Sprite
private final Map
<BlockState, BitSet> protected final ModelTransformation
-
Constructor Summary
ConstructorDescriptionMultipartBakedModel
(List<Pair<Predicate<BlockState>, BakedModel>> components) -
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
-
components
- Mappings:
Namespace Name Mixin selector named components
Lnet/minecraft/client/render/model/MultipartBakedModel;components:Ljava/util/List;
intermediary field_5427
Lnet/minecraft/class_1095;field_5427:Ljava/util/List;
official g
Lgrk;g:Ljava/util/List;
-
ambientOcclusion
protected final boolean ambientOcclusion- Mappings:
Namespace Name Mixin selector named ambientOcclusion
Lnet/minecraft/client/render/model/MultipartBakedModel;ambientOcclusion:Z
intermediary field_5430
Lnet/minecraft/class_1095;field_5430:Z
official a
Lgrk;a:Z
-
depthGui
protected final boolean depthGui- Mappings:
Namespace Name Mixin selector named depthGui
Lnet/minecraft/client/render/model/MultipartBakedModel;depthGui:Z
intermediary field_5429
Lnet/minecraft/class_1095;field_5429:Z
official b
Lgrk;b:Z
-
sideLit
protected final boolean sideLit- Mappings:
Namespace Name Mixin selector named sideLit
Lnet/minecraft/client/render/model/MultipartBakedModel;sideLit:Z
intermediary field_21863
Lnet/minecraft/class_1095;field_21863:Z
official c
Lgrk;c:Z
-
sprite
- Mappings:
Namespace Name Mixin selector named sprite
Lnet/minecraft/client/render/model/MultipartBakedModel;sprite:Lnet/minecraft/client/texture/Sprite;
intermediary field_5425
Lnet/minecraft/class_1095;field_5425:Lnet/minecraft/class_1058;
official d
Lgrk;d:Lgpa;
-
transformations
- Mappings:
Namespace Name Mixin selector named transformations
Lnet/minecraft/client/render/model/MultipartBakedModel;transformations:Lnet/minecraft/client/render/model/json/ModelTransformation;
intermediary field_5426
Lnet/minecraft/class_1095;field_5426:Lnet/minecraft/class_809;
official e
Lgrk;e:Lgey;
-
itemPropertyOverrides
- Mappings:
Namespace Name Mixin selector named itemPropertyOverrides
Lnet/minecraft/client/render/model/MultipartBakedModel;itemPropertyOverrides:Lnet/minecraft/client/render/model/json/ModelOverrideList;
intermediary field_5428
Lnet/minecraft/class_1095;field_5428:Lnet/minecraft/class_806;
official f
Lgrk;f:Lgew;
-
stateCache
- Mappings:
Namespace Name Mixin selector named stateCache
Lnet/minecraft/client/render/model/MultipartBakedModel;stateCache:Ljava/util/Map;
intermediary field_5431
Lnet/minecraft/class_1095;field_5431:Ljava/util/Map;
official h
Lgrk;h:Ljava/util/Map;
-
-
Constructor Details
-
MultipartBakedModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/model/MultipartBakedModel;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_1095;<init>(Ljava/util/List;)V
official <init>
Lgrk;<init>(Ljava/util/List;)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
Lgrb;a(Ldsd;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
Lgrb;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
Lgrb;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
Lgrb;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
Lgrb;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
Lgrb;e()Lgpa;
-
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
Lgrb;f()Lgey;
-
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
Lgrb;g()Lgew;
-