T - The type of TileEntity being rendered.public abstract class TileEntityRendererFast<T extends TileEntity> extends TileEntityRenderer<T>
TileGameRenderer which can be batched with other
renderers that are also instances of this class.
Advantages:
Disadvantages:
VertexFormat
(DefaultVertexFormats.BLOCK)DESTROY_STAGES, rendererDispatcher| Constructor and Description |
|---|
TileEntityRendererFast() |
| Modifier and Type | Method and Description |
|---|---|
void |
render(T te,
double x,
double y,
double z,
float partialTicks,
int destroyStage) |
abstract void |
renderTileEntityFast(T te,
double x,
double y,
double z,
float partialTicks,
int destroyStage,
BufferBuilder buffer)
Draw this renderer to the passed
BufferBuilder. |
bindTexture, drawNameplate, getFontRenderer, getWorld, isGlobalRenderer, setLightmapDisabled, setRendererDispatcherpublic final void render(T te, double x, double y, double z, float partialTicks, int destroyStage)
render in class TileEntityRenderer<T extends TileEntity>public abstract void renderTileEntityFast(T te, double x, double y, double z, float partialTicks, int destroyStage, BufferBuilder buffer)
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 TileEntityRenderer<T extends TileEntity>