@Environment(value=CLIENT) public class ChestBlockEntityRenderer<T extends BlockEntity & ChestAnimationProgress> extends BlockEntityRenderer<T>
Modifier and Type | Field and Description |
---|---|
private boolean |
christmas |
private ModelPart |
doubleChestLeftBase |
private ModelPart |
doubleChestLeftLatch |
private ModelPart |
doubleChestLeftLid |
private ModelPart |
doubleChestRightBase |
private ModelPart |
doubleChestRightLatch |
private ModelPart |
doubleChestRightLid |
private ModelPart |
singleChestBase |
private ModelPart |
singleChestLatch |
private ModelPart |
singleChestLid |
dispatcher
Constructor and Description |
---|
ChestBlockEntityRenderer(BlockEntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
private void |
render(MatrixStack matrices,
VertexConsumer vertices,
ModelPart lid,
ModelPart latch,
ModelPart base,
float openFactor,
int light,
int overlay) |
void |
render(T entity,
float tickDelta,
MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light,
int overlay) |
rendersOutsideBoundingBox
private final ModelPart singleChestLid
private final ModelPart singleChestBase
private final ModelPart singleChestLatch
private final ModelPart doubleChestRightLid
private final ModelPart doubleChestRightBase
private final ModelPart doubleChestRightLatch
private final ModelPart doubleChestLeftLid
private final ModelPart doubleChestLeftBase
private final ModelPart doubleChestLeftLatch
private boolean christmas
public ChestBlockEntityRenderer(BlockEntityRenderDispatcher dispatcher)
public void render(T entity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)
render
in class BlockEntityRenderer<T extends BlockEntity & ChestAnimationProgress>
private void render(MatrixStack matrices, VertexConsumer vertices, ModelPart lid, ModelPart latch, ModelPart base, float openFactor, int light, int overlay)