Class ChestModelRenderer
java.lang.Object
net.minecraft.client.render.item.model.special.ChestModelRenderer
- All Implemented Interfaces:
SimpleSpecialModelRenderer,SpecialModelRenderer<Void>
@Environment(CLIENT)
public class ChestModelRenderer
extends Object
implements SimpleSpecialModelRenderer
- Mappings:
Namespace Name named net/minecraft/client/render/item/model/special/ChestModelRendererintermediary net/minecraft/class_10502official huh
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.render.item.model.special.SpecialModelRenderer
SpecialModelRenderer.BakeContext -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Identifierstatic final Identifierstatic final Identifierstatic final Identifierprivate final SpriteHolderprivate final ChestBlockModelstatic final Identifierprivate final floatstatic final Identifierprivate final SpriteIdentifierstatic final Identifierstatic final Identifier -
Constructor Summary
ConstructorsConstructorDescriptionChestModelRenderer(SpriteHolder spriteHolder, ChestBlockModel model, SpriteIdentifier textureId, float openness) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectVertices(Set<Vector3f> vertices) voidrender(ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, boolean glint) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.render.item.model.special.SimpleSpecialModelRenderer
getData, render
-
Field Details
-
CHRISTMAS_ID
- Mappings:
Namespace Name Mixin selector named CHRISTMAS_IDLnet/minecraft/client/render/item/model/special/ChestModelRenderer;CHRISTMAS_ID:Lnet/minecraft/util/Identifier;intermediary field_55429Lnet/minecraft/class_10502;field_55429:Lnet/minecraft/class_2960;official aLhuh;a:Laml;
-
NORMAL_ID
- Mappings:
Namespace Name Mixin selector named NORMAL_IDLnet/minecraft/client/render/item/model/special/ChestModelRenderer;NORMAL_ID:Lnet/minecraft/util/Identifier;intermediary field_55430Lnet/minecraft/class_10502;field_55430:Lnet/minecraft/class_2960;official bLhuh;b:Laml;
-
TRAPPED_ID
- Mappings:
Namespace Name Mixin selector named TRAPPED_IDLnet/minecraft/client/render/item/model/special/ChestModelRenderer;TRAPPED_ID:Lnet/minecraft/util/Identifier;intermediary field_55431Lnet/minecraft/class_10502;field_55431:Lnet/minecraft/class_2960;official cLhuh;c:Laml;
-
ENDER_ID
- Mappings:
Namespace Name Mixin selector named ENDER_IDLnet/minecraft/client/render/item/model/special/ChestModelRenderer;ENDER_ID:Lnet/minecraft/util/Identifier;intermediary field_55432Lnet/minecraft/class_10502;field_55432:Lnet/minecraft/class_2960;official dLhuh;d:Laml;
-
COPPER_ID
- Mappings:
Namespace Name Mixin selector named COPPER_IDLnet/minecraft/client/render/item/model/special/ChestModelRenderer;COPPER_ID:Lnet/minecraft/util/Identifier;intermediary field_61848Lnet/minecraft/class_10502;field_61848:Lnet/minecraft/class_2960;official eLhuh;e:Laml;
-
EXPOSED_COPPER_ID
- Mappings:
Namespace Name Mixin selector named EXPOSED_COPPER_IDLnet/minecraft/client/render/item/model/special/ChestModelRenderer;EXPOSED_COPPER_ID:Lnet/minecraft/util/Identifier;intermediary field_61849Lnet/minecraft/class_10502;field_61849:Lnet/minecraft/class_2960;official fLhuh;f:Laml;
-
WEATHERED_COPPER_ID
- Mappings:
Namespace Name Mixin selector named WEATHERED_COPPER_IDLnet/minecraft/client/render/item/model/special/ChestModelRenderer;WEATHERED_COPPER_ID:Lnet/minecraft/util/Identifier;intermediary field_61850Lnet/minecraft/class_10502;field_61850:Lnet/minecraft/class_2960;official gLhuh;g:Laml;
-
OXIDIZED_COPPER_ID
- Mappings:
Namespace Name Mixin selector named OXIDIZED_COPPER_IDLnet/minecraft/client/render/item/model/special/ChestModelRenderer;OXIDIZED_COPPER_ID:Lnet/minecraft/util/Identifier;intermediary field_61851Lnet/minecraft/class_10502;field_61851:Lnet/minecraft/class_2960;official hLhuh;h:Laml;
-
field_61852
- Mappings:
Namespace Name Mixin selector named field_61852Lnet/minecraft/client/render/item/model/special/ChestModelRenderer;field_61852:Lnet/minecraft/client/texture/SpriteHolder;intermediary field_61852Lnet/minecraft/class_10502;field_61852:Lnet/minecraft/class_11701;official iLhuh;i:Lhxt;
-
model
- Mappings:
Namespace Name Mixin selector named modelLnet/minecraft/client/render/item/model/special/ChestModelRenderer;model:Lnet/minecraft/client/render/block/entity/model/ChestBlockModel;intermediary field_55433Lnet/minecraft/class_10502;field_55433:Lnet/minecraft/class_9944;official jLhuh;j:Lgps;
-
textureId
- Mappings:
Namespace Name Mixin selector named textureIdLnet/minecraft/client/render/item/model/special/ChestModelRenderer;textureId:Lnet/minecraft/client/util/SpriteIdentifier;intermediary field_55434Lnet/minecraft/class_10502;field_55434:Lnet/minecraft/class_4730;official kLhuh;k:Lhxs;
-
openness
private final float openness- Mappings:
Namespace Name Mixin selector named opennessLnet/minecraft/client/render/item/model/special/ChestModelRenderer;openness:Fintermediary field_55435Lnet/minecraft/class_10502;field_55435:Fofficial lLhuh;l:F
-
-
Constructor Details
-
ChestModelRenderer
public ChestModelRenderer(SpriteHolder spriteHolder, ChestBlockModel model, SpriteIdentifier textureId, float openness) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/item/model/special/ChestModelRenderer;<init>(Lnet/minecraft/client/texture/SpriteHolder;Lnet/minecraft/client/render/block/entity/model/ChestBlockModel;Lnet/minecraft/client/util/SpriteIdentifier;F)Vintermediary <init>Lnet/minecraft/class_10502;<init>(Lnet/minecraft/class_11701;Lnet/minecraft/class_9944;Lnet/minecraft/class_4730;F)Vofficial <init>Lhuh;<init>(Lhxt;Lgps;Lhxs;F)V
-
-
Method Details
-
render
public void render(ItemDisplayContext displayContext, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, boolean glint) - Specified by:
renderin interfaceSimpleSpecialModelRenderer- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/render/item/model/special/SimpleSpecialModelRenderer;render(Lnet/minecraft/item/ItemDisplayContext;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IIZ)Vintermediary method_65699Lnet/minecraft/class_10508;method_65699(Lnet/minecraft/class_811;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IIZ)Vofficial aLhum;a(Lddr;Lfpu;Lhap;IIZ)V
-
collectVertices
- Specified by:
collectVerticesin interfaceSpecialModelRenderer<Void>- Mappings:
Namespace Name Mixin selector named collectVerticesLnet/minecraft/client/render/item/model/special/SpecialModelRenderer;collectVertices(Ljava/util/Set;)Vintermediary method_72175Lnet/minecraft/class_10515;method_72175(Ljava/util/Set;)Vofficial aLhur;a(Ljava/util/Set;)V
-