public class RenderTileEntityDecorativeBase
extends net.minecraft.client.renderer.tileentity.TileEntityRenderer<net.minecraft.tileentity.TileEntity>
Constructor and Description |
---|
RenderTileEntityDecorativeBase(net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
static ModelEntityBlock |
addModelFor(ContainerPlusBlock block) |
void |
doRotation(com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.block.BlockState state)
Rotates the block according to its metadata.
|
static ModelEntityBlock |
getModelFor(ContainerPlusBlock block) |
void |
render(net.minecraft.tileentity.TileEntity te,
float partialTicks,
com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
int combinedLightIn,
int combinedOverlayIn) |
public RenderTileEntityDecorativeBase(net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher)
public void render(net.minecraft.tileentity.TileEntity te, float partialTicks, com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.renderer.IRenderTypeBuffer buffer, int combinedLightIn, int combinedOverlayIn)
render
in class net.minecraft.client.renderer.tileentity.TileEntityRenderer<net.minecraft.tileentity.TileEntity>
public void doRotation(com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.block.BlockState state)
state
- The block to rotate.public static ModelEntityBlock addModelFor(ContainerPlusBlock block)
public static ModelEntityBlock getModelFor(ContainerPlusBlock block)