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 huu
-
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 ChestBlockModelstatic final Identifierprivate final floatstatic final Identifierprivate final SpriteHolderprivate 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 aLhuu;a:Lamn;
-
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 bLhuu;b:Lamn;
-
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 cLhuu;c:Lamn;
-
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 dLhuu;d:Lamn;
-
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 eLhuu;e:Lamn;
-
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 fLhuu;f:Lamn;
-
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 gLhuu;g:Lamn;
-
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 hLhuu;h:Lamn;
-
spriteHolder
- Mappings:
Namespace Name Mixin selector named spriteHolderLnet/minecraft/client/render/item/model/special/ChestModelRenderer;spriteHolder:Lnet/minecraft/client/texture/SpriteHolder;intermediary field_61852Lnet/minecraft/class_10502;field_61852:Lnet/minecraft/class_11701;official iLhuu;i:Lhyg;
-
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 jLhuu;j:Lgqb;
-
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 kLhuu;k:Lhyf;
-
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 lLhuu;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>Lhuu;<init>(Lhyg;Lgqb;Lhyf;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 aLhuz;a(Lddu;Lfqa;Lhba;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 aLhve;a(Ljava/util/Set;)V
-