public class ChestTileEntityRenderer<T extends TileEntity & IChestLid> extends TileEntityRenderer<T>
Modifier and Type | Field and Description |
---|---|
private boolean |
isChristmas |
private ModelRenderer |
leftBottom |
private ModelRenderer |
leftLatch |
private ModelRenderer |
leftLid |
private ModelRenderer |
rightBottom |
private ModelRenderer |
rightLatch |
private ModelRenderer |
rightLid |
private ModelRenderer |
singleBottom |
private ModelRenderer |
singleLatch |
private ModelRenderer |
singleLid |
renderDispatcher
Constructor and Description |
---|
ChestTileEntityRenderer(TileEntityRendererDispatcher rendererDispatcherIn) |
Modifier and Type | Method and Description |
---|---|
protected Material |
getMaterial(T tileEntity,
ChestType chestType) |
void |
render(T tileEntityIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
int combinedOverlayIn) |
private void |
renderModels(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
ModelRenderer chestLid,
ModelRenderer chestLatch,
ModelRenderer chestBottom,
float lidAngle,
int combinedLightIn,
int combinedOverlayIn) |
isGlobalRenderer
private final ModelRenderer singleLid
private final ModelRenderer singleBottom
private final ModelRenderer singleLatch
private final ModelRenderer rightLid
private final ModelRenderer rightBottom
private final ModelRenderer rightLatch
private final ModelRenderer leftLid
private final ModelRenderer leftBottom
private final ModelRenderer leftLatch
private boolean isChristmas
public ChestTileEntityRenderer(TileEntityRendererDispatcher rendererDispatcherIn)
public void render(T tileEntityIn, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn)
render
in class TileEntityRenderer<T extends TileEntity & IChestLid>
private void renderModels(MatrixStack matrixStackIn, IVertexBuilder bufferIn, ModelRenderer chestLid, ModelRenderer chestLatch, ModelRenderer chestBottom, float lidAngle, int combinedLightIn, int combinedOverlayIn)