Package net.minecraft.src
Class RenderMinecart
java.lang.Object
net.minecraft.src.Render
net.minecraft.src.RenderMinecart
- Direct Known Subclasses:
RenderMinecartMobSpawner,RenderTntMinecart
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RenderBlocksprotected ModelBaseinstance of ModelMinecart for renderingFields inherited from class net.minecraft.src.Render
renderBlocks, renderManager, shadowOpaque, shadowSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidActually renders the given argument.protected ResourceLocationgetEntityTexture(Entity par1Entity) Returns the location of an entity's texture.protected ResourceLocationgetMinecartTextures(EntityMinecart par1EntityMinecart) protected voidrenderBlockInMinecart(EntityMinecart par1EntityMinecart, float par2, Block par3Block, int par4) Renders the block that is inside the minecart.voidrenderTheMinecart(EntityMinecart par1EntityMinecart, double par2, double par4, double par6, float par8, float par9) Renders the Minecart.Methods inherited from class net.minecraft.src.Render
bindEntityTexture, bindTexture, doRenderShadowAndFire, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager, updateIcons
-
Field Details
-
modelMinecart
instance of ModelMinecart for rendering -
field_94145_f
-
-
Constructor Details
-
RenderMinecart
public RenderMinecart()
-
-
Method Details
-
renderTheMinecart
public void renderTheMinecart(EntityMinecart par1EntityMinecart, double par2, double par4, double par6, float par8, float par9) Renders the Minecart. -
getMinecartTextures
-
renderBlockInMinecart
protected void renderBlockInMinecart(EntityMinecart par1EntityMinecart, float par2, Block par3Block, int par4) Renders the block that is inside the minecart. -
getEntityTexture
Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture.- Specified by:
getEntityTexturein classRender
-
doRender
public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic(Render<T extends Entity>)and this method has signature public void doRender(T entity, double d, double d1, double d2, float f, float f1). But JAD is pre 1.5 so doesn't do that.
-