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 |
render(T te,
double x,
double y,
double z,
float partialTicks,
int destroyStage,
float alpha) |
void |
renderTileEntityFast(T te,
double x,
double y,
double z,
float partialTicks,
int destroyStage,
float partial,
BufferBuilder buffer) |
protected void |
setLightmapDisabled(boolean disabled) |
void |
setRendererDispatcher(TileEntityRendererDispatcher rendererDispatcherIn) |
protected static final ResourceLocation[] DESTROY_STAGES
protected TileEntityRendererDispatcher rendererDispatcher
public void render(T te, double x, double y, double z, float partialTicks, int destroyStage, float alpha)
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, float partial, BufferBuilder buffer)
protected void drawNameplate(T te, java.lang.String str, double x, double y, double z, int maxDistance)