public class TileEntityChestRenderer extends TileEntitySpecialRenderer<TileEntityChest>
Modifier and Type | Field and Description |
---|---|
private boolean |
isChristmas |
private ModelChest |
largeChest |
private ModelChest |
simpleChest |
private static ResourceLocation |
TEXTURE_CHRISTMAS |
private static ResourceLocation |
TEXTURE_CHRISTMAS_DOUBLE |
private static ResourceLocation |
TEXTURE_NORMAL |
private static ResourceLocation |
TEXTURE_NORMAL_DOUBLE |
private static ResourceLocation |
TEXTURE_TRAPPED |
private static ResourceLocation |
TEXTURE_TRAPPED_DOUBLE |
DESTROY_STAGES, rendererDispatcher
Constructor and Description |
---|
TileEntityChestRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(TileEntityChest te,
double x,
double y,
double z,
float partialTicks,
int destroyStage,
float alpha) |
bindTexture, drawNameplate, getFontRenderer, getWorld, isGlobalRenderer, renderTileEntityFast, setLightmapDisabled, setRendererDispatcher
private static final ResourceLocation TEXTURE_TRAPPED_DOUBLE
private static final ResourceLocation TEXTURE_CHRISTMAS_DOUBLE
private static final ResourceLocation TEXTURE_NORMAL_DOUBLE
private static final ResourceLocation TEXTURE_TRAPPED
private static final ResourceLocation TEXTURE_CHRISTMAS
private static final ResourceLocation TEXTURE_NORMAL
private final ModelChest simpleChest
private final ModelChest largeChest
private boolean isChristmas
public void render(TileEntityChest te, double x, double y, double z, float partialTicks, int destroyStage, float alpha)
render
in class TileEntitySpecialRenderer<TileEntityChest>