public abstract class TileEntitySpecialRenderer<T extends TileEntity>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static ResourceLocation[] |
DESTROY_STAGES |
protected TileEntityRendererDispatcher |
rendererDispatcher |
Constructor and Description |
---|
TileEntitySpecialRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
bindTexture(ResourceLocation location) |
protected void |
drawNameplate(T te,
java.lang.String str,
double x,
double y,
double z,
int maxDistance) |
FontRenderer |
getFontRenderer() |
protected World |
getWorld() |
boolean |
isGlobalRenderer(T te) |
void |
renderTileEntityAt(T te,
double x,
double y,
double z,
float partialTicks,
int destroyStage) |
void |
renderTileEntityFast(T te,
double x,
double y,
double z,
float partialTicks,
int destroyStage,
VertexBuffer buffer) |
protected void |
setLightmapDisabled(boolean disabled) |
void |
setRendererDispatcher(TileEntityRendererDispatcher rendererDispatcherIn) |
protected static final ResourceLocation[] DESTROY_STAGES
protected TileEntityRendererDispatcher rendererDispatcher
public void renderTileEntityAt(T te, double x, double y, double z, float partialTicks, int destroyStage)
protected void setLightmapDisabled(boolean disabled)
protected void bindTexture(ResourceLocation location)
protected World getWorld()
public void setRendererDispatcher(TileEntityRendererDispatcher rendererDispatcherIn)
public FontRenderer getFontRenderer()
public boolean isGlobalRenderer(T te)
public void renderTileEntityFast(T te, double x, double y, double z, float partialTicks, int destroyStage, VertexBuffer buffer)
protected void drawNameplate(T te, java.lang.String str, double x, double y, double z, int maxDistance)