public class TileEntityRendererDispatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
RayTraceResult |
cameraHitResult |
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 |
world |
Modifier and Type | Method and Description |
---|---|
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 |
prepare(World worldIn,
TextureManager renderEngineIn,
FontRenderer fontRendererIn,
Entity entityIn,
RayTraceResult cameraHitResultIn,
float p_190056_6_) |
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 final 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 world
public Entity entity
public float entityYaw
public float entityPitch
public RayTraceResult cameraHitResult
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 prepare(World worldIn, TextureManager renderEngineIn, FontRenderer fontRendererIn, Entity entityIn, RayTraceResult cameraHitResultIn, float p_190056_6_)
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)