public class RenderMinecart extends Render
Modifier and Type | Field and Description |
---|---|
protected RenderBlocks |
field_94145_f |
protected ModelBase |
modelMinecart
instance of ModelMinecart for rendering
|
renderBlocks, renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
RenderMinecart() |
Modifier and Type | Method and Description |
---|---|
void |
doRender(Entity par1Entity,
double par2,
double par4,
double par6,
float par8,
float par9)
Actually renders the given argument.
|
protected ResourceLocation |
getEntityTexture(Entity par1Entity)
Returns the location of an entity's texture.
|
protected ResourceLocation |
getMinecartTextures(EntityMinecart par1EntityMinecart) |
protected void |
renderBlockInMinecart(EntityMinecart par1EntityMinecart,
float par2,
Block par3Block,
int par4)
Renders the block that is inside the minecart.
|
void |
renderTheMinecart(EntityMinecart par1EntityMinecart,
double par2,
double par4,
double par6,
float par8,
float par9)
Renders the Minecart.
|
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager, updateIcons
protected ModelBase modelMinecart
protected final RenderBlocks field_94145_f
public void renderTheMinecart(EntityMinecart par1EntityMinecart, double par2, double par4, double par6, float par8, float par9)
protected ResourceLocation getMinecartTextures(EntityMinecart par1EntityMinecart)
protected void renderBlockInMinecart(EntityMinecart par1EntityMinecart, float par2, Block par3Block, int par4)
protected ResourceLocation getEntityTexture(Entity par1Entity)
getEntityTexture
in class Render
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)