|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.client.renderer.tileentity.TileEntityRenderer
public class TileEntityRenderer
Field Summary | |
---|---|
EntityLiving |
entityLivingPlayer
|
static TileEntityRenderer |
instance
The static instance of TileEntityRenderer |
float |
playerPitch
|
double |
playerX
The player's X position in this rendering context |
double |
playerY
The player's Y position in this rendering context |
float |
playerYaw
|
double |
playerZ
The player's Z position in this rendering context |
RenderEngine |
renderEngine
The RenderEngine instance used by the TileEntityRenderer |
Map |
specialRendererMap
A mapping of TileEntitySpecialRenderers used for each TileEntity that has one |
static double |
staticPlayerX
The player's current X position (same as playerX) |
static double |
staticPlayerY
The player's current Y position (same as playerY) |
static double |
staticPlayerZ
The player's current Z position (same as playerZ) |
World |
worldObj
Reference to the World object. |
Method Summary | |
---|---|
void |
cacheActiveRenderInfo(World par1World,
RenderEngine par2RenderEngine,
FontRenderer par3FontRenderer,
EntityLiving par4EntityLiving,
float par5)
Caches several render-related references, including the active World, RenderEngine, FontRenderer, and the camera- bound EntityLiving's interpolated pitch, yaw and position. |
FontRenderer |
getFontRenderer()
|
TileEntitySpecialRenderer |
getSpecialRendererForClass(Class par1Class)
Returns the TileEntitySpecialRenderer used to render this TileEntity class, or null if it has no special renderer |
TileEntitySpecialRenderer |
getSpecialRendererForEntity(TileEntity par1TileEntity)
Returns the TileEntitySpecialRenderer used to render this TileEntity instance, or null if it has no special renderer |
boolean |
hasSpecialRenderer(TileEntity par1TileEntity)
Returns true if this TileEntity instance has a TileEntitySpecialRenderer associated with it, false otherwise. |
void |
renderTileEntity(TileEntity par1TileEntity,
float par2)
Render this TileEntity at its current position from the player |
void |
renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8)
Render this TileEntity at a given set of coordinates |
void |
setWorld(World par1World)
Sets the world used by all TileEntitySpecialRender instances and notifies them of this change. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Map specialRendererMap
public static TileEntityRenderer instance
public static double staticPlayerX
public static double staticPlayerY
public static double staticPlayerZ
public RenderEngine renderEngine
public World worldObj
public EntityLiving entityLivingPlayer
public float playerYaw
public float playerPitch
public double playerX
public double playerY
public double playerZ
Method Detail |
---|
public TileEntitySpecialRenderer getSpecialRendererForClass(Class par1Class)
public boolean hasSpecialRenderer(TileEntity par1TileEntity)
public TileEntitySpecialRenderer getSpecialRendererForEntity(TileEntity par1TileEntity)
public void cacheActiveRenderInfo(World par1World, RenderEngine par2RenderEngine, FontRenderer par3FontRenderer, EntityLiving par4EntityLiving, float par5)
public void renderTileEntity(TileEntity par1TileEntity, float par2)
public void renderTileEntityAt(TileEntity par1TileEntity, double par2, double par4, double par6, float par8)
public void setWorld(World par1World)
public FontRenderer getFontRenderer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |