@Environment(value=CLIENT) public class MinecartEntityRenderer<T extends AbstractMinecartEntity> extends EntityRenderer<T>
Modifier and Type | Field and Description |
---|---|
protected EntityModel<T> |
model |
private static Identifier |
TEXTURE |
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
MinecartEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(T t) |
void |
render(T t,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
protected void |
renderBlock(T entity,
float delta,
BlockState state,
MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light) |
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, hasLabel, method_27950, renderLabelIfPresent, shouldRender
private static final Identifier TEXTURE
protected final EntityModel<T extends AbstractMinecartEntity> model
public MinecartEntityRenderer(EntityRenderDispatcher dispatcher)
public void render(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class EntityRenderer<T extends AbstractMinecartEntity>
public Identifier getTexture(T t)
getTexture
in class EntityRenderer<T extends AbstractMinecartEntity>
protected void renderBlock(T entity, float delta, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)