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 |
static TileEntityRendererDispatcher |
instance |
java.util.Map<java.lang.Class<? extends TileEntity>,TileEntitySpecialRenderer<? extends TileEntity>> |
mapSpecialRenderers |
TextureManager |
renderEngine |
static double |
staticPlayerX |
static double |
staticPlayerY |
static double |
staticPlayerZ |
World |
worldObj |
Modifier and Type | Method and Description |
---|---|
void |
cacheActiveRenderInfo(World worldIn,
TextureManager textureManagerIn,
FontRenderer fontrendererIn,
Entity entityIn,
float partialTicks) |
void |
drawBatch(int pass)
Render all TESRs batched so far.
|
FontRenderer |
getFontRenderer() |
<T extends TileEntity> |
getSpecialRenderer(TileEntity tileEntityIn) |
<T extends TileEntity> |
getSpecialRendererByClass(java.lang.Class<? extends TileEntity> teClass) |
void |
preDrawBatch()
Prepare for a batched TESR rendering.
|
void |
renderTileEntity(TileEntity tileentityIn,
float partialTicks,
int destroyStage) |
void |
renderTileEntityAt(TileEntity tileEntityIn,
double x,
double y,
double z,
float partialTicks) |
void |
renderTileEntityAt(TileEntity tileEntityIn,
double x,
double y,
double z,
float partialTicks,
int destroyStage) |
void |
setWorld(World worldIn) |
public java.util.Map<java.lang.Class<? extends TileEntity>,TileEntitySpecialRenderer<? extends TileEntity>> mapSpecialRenderers
public static TileEntityRendererDispatcher instance
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)
@Nullable public <T extends TileEntity> TileEntitySpecialRenderer<T> getSpecialRenderer(@Nullable 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(@Nullable World worldIn)
public FontRenderer getFontRenderer()
public void preDrawBatch()
public void drawBatch(int pass)