@Environment(value=CLIENT) public class ChestBlockEntityRenderer<T extends BlockEntity & ChestAnimationProgress> extends Object implements 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 |
| Constructor and Description |
|---|
ChestBlockEntityRenderer(BlockEntityRendererFactory.Arguments arguments) |
| Modifier and Type | Method and Description |
|---|---|
static class_5607 |
method_32147() |
static class_5607 |
method_32148() |
static class_5607 |
method_32149() |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrendersOutsideBoundingBoxprivate 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(BlockEntityRendererFactory.Arguments arguments)
public static class_5607 method_32147()
public static class_5607 method_32148()
public static class_5607 method_32149()
public void render(T entity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)
render in interface BlockEntityRenderer<T extends BlockEntity & ChestAnimationProgress>private void render(MatrixStack matrices, VertexConsumer vertices, ModelPart lid, ModelPart latch, ModelPart base, float openFactor, int light, int overlay)