@Environment(value=CLIENT) public abstract class BlockEntityRenderer<T extends BlockEntity> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BlockEntityRenderDispatcher |
dispatcher |
| Constructor and Description |
|---|
BlockEntityRenderer(BlockEntityRenderDispatcher dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
render(T entity,
float tickDelta,
MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light,
int overlay) |
boolean |
rendersOutsideBoundingBox(T blockEntity) |
protected final BlockEntityRenderDispatcher dispatcher
public BlockEntityRenderer(BlockEntityRenderDispatcher dispatcher)
public abstract void render(T entity, float tickDelta, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay)
public boolean rendersOutsideBoundingBox(T blockEntity)