Class ChestSpecialRenderer
java.lang.Object
net.minecraft.client.renderer.special.ChestSpecialRenderer
- All Implemented Interfaces:
NoDataSpecialModelRenderer
,SpecialModelRenderer<Void>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceLocation
static final ResourceLocation
private final Material
private final ChestModel
static final ResourceLocation
private final float
static final ResourceLocation
-
Constructor Summary
ConstructorsConstructorDescriptionChestSpecialRenderer
(ChestModel pModel, Material pMaterial, float pOpenness) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getExtents
(Set<org.joml.Vector3f> pOutput) void
render
(ItemDisplayContext pDisplayContext, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, boolean pHasFoilType) 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.renderer.special.NoDataSpecialModelRenderer
extractArgument, render
-
Field Details
-
GIFT_CHEST_TEXTURE
-
NORMAL_CHEST_TEXTURE
-
TRAPPED_CHEST_TEXTURE
-
ENDER_CHEST_TEXTURE
-
model
-
material
-
openness
private final float openness
-
-
Constructor Details
-
ChestSpecialRenderer
-
-
Method Details
-
render
public void render(ItemDisplayContext pDisplayContext, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, boolean pHasFoilType) - Specified by:
render
in interfaceNoDataSpecialModelRenderer
-
getExtents
- Specified by:
getExtents
in interfaceSpecialModelRenderer<Void>
-