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 |
FontRenderer |
fontRenderer |
static TileEntityRendererDispatcher |
instance |
TextureManager |
renderEngine |
java.util.Map<java.lang.Class<? extends TileEntity>,TileEntitySpecialRenderer<? extends TileEntity>> |
renderers |
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> |
getRenderer(java.lang.Class<? extends TileEntity> teClass) |
<T extends TileEntity> |
getRenderer(TileEntity tileEntityIn) |
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 |
render(TileEntity tileEntityIn,
double x,
double y,
double z,
float partialTicks) |
void |
render(TileEntity p_192855_1_,
double p_192855_2_,
double p_192855_4_,
double p_192855_6_,
float p_192855_8_,
float p_192855_9_) |
void |
render(TileEntity tileEntityIn,
double x,
double y,
double z,
float partialTicks,
int destroyStage,
float p_192854_10_) |
void |
render(TileEntity tileentityIn,
float partialTicks,
int destroyStage) |
void |
setWorld(World worldIn) |
public final java.util.Map<java.lang.Class<? extends TileEntity>,TileEntitySpecialRenderer<? extends TileEntity>> renderers
public static TileEntityRendererDispatcher instance
public FontRenderer fontRenderer
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> getRenderer(java.lang.Class<? extends TileEntity> teClass)
@Nullable public <T extends TileEntity> TileEntitySpecialRenderer<T> getRenderer(@Nullable TileEntity tileEntityIn)
public void prepare(World worldIn, TextureManager renderEngineIn, FontRenderer fontRendererIn, Entity entityIn, RayTraceResult cameraHitResultIn, float p_190056_6_)
public void render(TileEntity tileentityIn, float partialTicks, int destroyStage)
public void render(TileEntity tileEntityIn, double x, double y, double z, float partialTicks)
public void render(TileEntity p_192855_1_, double p_192855_2_, double p_192855_4_, double p_192855_6_, float p_192855_8_, float p_192855_9_)
public void render(TileEntity tileEntityIn, double x, double y, double z, float partialTicks, int destroyStage, float p_192854_10_)
public void setWorld(@Nullable World worldIn)
public FontRenderer getFontRenderer()
public void preDrawBatch()
public void drawBatch(int pass)