public class TileEntityRendererDispatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Entity |
entity |
float |
entityPitch |
double |
entityX |
double |
entityY |
float |
entityYaw |
double |
entityZ |
private FontRenderer |
fontRenderer |
static TileEntityRendererDispatcher |
instance |
private java.util.Map<java.lang.Class<? extends TileEntity>,TileEntitySpecialRenderer<? extends TileEntity>> |
mapSpecialRenderers |
TextureManager |
renderEngine |
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 |
Modifier | Constructor and Description |
---|---|
private |
TileEntityRendererDispatcher() |
Modifier and Type | Method and Description |
---|---|
void |
cacheActiveRenderInfo(World worldIn,
TextureManager textureManagerIn,
FontRenderer fontrendererIn,
Entity entityIn,
float partialTicks) |
FontRenderer |
getFontRenderer() |
<T extends TileEntity> |
getSpecialRenderer(TileEntity tileEntityIn) |
<T extends TileEntity> |
getSpecialRendererByClass(java.lang.Class<? extends TileEntity> teClass) |
void |
renderTileEntity(TileEntity tileentityIn,
float partialTicks,
int destroyStage) |
void |
renderTileEntityAt(TileEntity tileEntityIn,
double x,
double y,
double z,
float partialTicks)
Render this TileEntity at a given set of coordinates
|
void |
renderTileEntityAt(TileEntity tileEntityIn,
double x,
double y,
double z,
float partialTicks,
int destroyStage) |
void |
setWorld(World worldIn) |
private java.util.Map<java.lang.Class<? extends TileEntity>,TileEntitySpecialRenderer<? extends TileEntity>> mapSpecialRenderers
public static TileEntityRendererDispatcher instance
private FontRenderer fontRenderer
public static double staticPlayerX
public static double staticPlayerY
public static double staticPlayerZ
public TextureManager renderEngine
public World worldObj
public Entity entity
public float entityYaw
public float entityPitch
public double entityX
public double entityY
public double entityZ
public <T extends TileEntity> TileEntitySpecialRenderer<T> getSpecialRendererByClass(java.lang.Class<? extends TileEntity> teClass)
public <T extends TileEntity> TileEntitySpecialRenderer<T> getSpecialRenderer(TileEntity tileEntityIn)
public void cacheActiveRenderInfo(World worldIn, TextureManager textureManagerIn, FontRenderer fontrendererIn, Entity entityIn, float partialTicks)
public void renderTileEntity(TileEntity tileentityIn, float partialTicks, int destroyStage)
public void renderTileEntityAt(TileEntity tileEntityIn, double x, double y, double z, float partialTicks)
public void renderTileEntityAt(TileEntity tileEntityIn, double x, double y, double z, float partialTicks, int destroyStage)
public void setWorld(World worldIn)
public FontRenderer getFontRenderer()