public abstract class TileEntityRenderer<T extends TileEntity>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ResourceLocation[] |
DESTROY_STAGES |
protected TileEntityRendererDispatcher |
rendererDispatcher |
Constructor and Description |
---|
TileEntityRenderer() |
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 tileEntityIn,
double x,
double y,
double z,
float partialTicks,
int destroyStage) |
void |
renderTileEntityFast(T te,
double x,
double y,
double z,
float partialTicks,
int destroyStage,
BufferBuilder buffer) |
protected void |
setLightmapDisabled(boolean disabled) |
void |
setRendererDispatcher(TileEntityRendererDispatcher rendererDispatcherIn) |
public static final ResourceLocation[] DESTROY_STAGES
protected TileEntityRendererDispatcher rendererDispatcher
public void render(T tileEntityIn, 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, BufferBuilder buffer)
protected void drawNameplate(T te, java.lang.String str, double x, double y, double z, int maxDistance)