public class TileEntityRendererAnimation<T extends TileEntity> extends TileEntityRendererFast<T> implements IEventHandler<T>
TileGameRenderer
that works with the Forge model system and animations.Modifier and Type | Field and Description |
---|---|
protected static BlockRendererDispatcher |
blockRenderer |
DESTROY_STAGES, rendererDispatcher
Constructor and Description |
---|
TileEntityRendererAnimation() |
Modifier and Type | Method and Description |
---|---|
void |
handleEvents(T te,
float time,
java.lang.Iterable<Event> pastEvents) |
void |
renderTileEntityFast(T te,
double x,
double y,
double z,
float partialTick,
int breakStage,
BufferBuilder renderer)
Draw this renderer to the passed
BufferBuilder . |
render
bindTexture, drawNameplate, getFontRenderer, getWorld, isGlobalRenderer, setLightmapDisabled, setRendererDispatcher
protected static BlockRendererDispatcher blockRenderer
public void renderTileEntityFast(T te, double x, double y, double z, float partialTick, int breakStage, BufferBuilder renderer)
TileEntityRendererFast
BufferBuilder
. DO
NOT draw to any buffers other than the one passed, or use any OpenGL
operations as they will not be applied when this renderer is batched.renderTileEntityFast
in class TileEntityRendererFast<T extends TileEntity>
public void handleEvents(T te, float time, java.lang.Iterable<Event> pastEvents)
handleEvents
in interface IEventHandler<T extends TileEntity>