Class ChestRenderer<T extends BlockEntity & LidBlockEntity>
java.lang.Object
net.minecraft.client.renderer.blockentity.ChestRenderer<T>
- All Implemented Interfaces:
BlockEntityRenderer<T>
public class ChestRenderer<T extends BlockEntity & LidBlockEntity>
extends Object
implements BlockEntityRenderer<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
static LayerDefinition
static LayerDefinition
protected Material
getMaterial(T blockEntity, ChestType chestType)
private void
render(PoseStack p_112370_, VertexConsumer p_112371_, ModelPart p_112372_, ModelPart p_112373_, ModelPart p_112374_, float p_112375_, int p_112376_, int p_112377_)
void
render(T p_112363_, float p_112364_, PoseStack p_112365_, MultiBufferSource p_112366_, int p_112367_, int p_112368_)
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.blockentity.BlockEntityRenderer
getViewDistance, shouldRender, shouldRenderOffScreen
-
Field Details
-
BOTTOM
- See Also:
- Constant Field Values
-
LID
- See Also:
- Constant Field Values
-
LOCK
- See Also:
- Constant Field Values
-
lid
-
bottom
-
lock
-
doubleLeftLid
-
doubleLeftBottom
-
doubleLeftLock
-
doubleRightLid
-
doubleRightBottom
-
doubleRightLock
-
xmasTextures
private boolean xmasTextures
-
-
Constructor Details
-
ChestRenderer
-
-
Method Details
-
createSingleBodyLayer
-
createDoubleBodyRightLayer
-
createDoubleBodyLeftLayer
-
render
public void render(T p_112363_, float p_112364_, PoseStack p_112365_, MultiBufferSource p_112366_, int p_112367_, int p_112368_)- Specified by:
render
in interfaceBlockEntityRenderer<T extends BlockEntity & LidBlockEntity>
-
render
private void render(PoseStack p_112370_, VertexConsumer p_112371_, ModelPart p_112372_, ModelPart p_112373_, ModelPart p_112374_, float p_112375_, int p_112376_, int p_112377_) -
getMaterial
-