public class MinecartRenderer<T extends AbstractMinecartEntity> extends EntityRenderer<T>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
MINECART_TEXTURES |
protected EntityModel<T> |
modelMinecart |
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
MinecartRenderer(EntityRendererManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getEntityTexture(T entity) |
void |
render(T entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
protected void |
renderBlockState(T entityIn,
float partialTicks,
BlockState stateIn,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
canRenderName, getBlockLight, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName, shouldRender
private static final ResourceLocation MINECART_TEXTURES
protected final EntityModel<T extends AbstractMinecartEntity> modelMinecart
public MinecartRenderer(EntityRendererManager renderManagerIn)
public void render(T entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class EntityRenderer<T extends AbstractMinecartEntity>
public ResourceLocation getEntityTexture(T entity)
getEntityTexture
in class EntityRenderer<T extends AbstractMinecartEntity>
protected void renderBlockState(T entityIn, float partialTicks, BlockState stateIn, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)