public class KineticTileEntityRenderer extends SafeTileEntityRenderer<KineticTileEntity>
| Modifier and Type | Field and Description |
|---|---|
static Compartment<net.minecraft.block.BlockState> |
KINETIC_TILE |
static boolean |
rainbowMode |
| Constructor and Description |
|---|
KineticTileEntityRenderer(net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
static float |
getAngleForTe(KineticTileEntity te,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction.Axis axis) |
protected net.minecraft.block.BlockState |
getRenderedBlockState(KineticTileEntity te) |
protected SuperByteBuffer |
getRotatedModel(KineticTileEntity te) |
static net.minecraft.util.Direction.Axis |
getRotationAxisOf(KineticTileEntity te) |
protected static float |
getRotationOffsetForPosition(KineticTileEntity te,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction.Axis axis) |
static SuperByteBuffer |
kineticRotationTransform(SuperByteBuffer buffer,
KineticTileEntity te,
net.minecraft.util.Direction.Axis axis,
float angle,
int light) |
static void |
renderRotatingBuffer(KineticTileEntity te,
SuperByteBuffer superBuffer,
com.mojang.blaze3d.matrix.MatrixStack ms,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int light) |
static void |
renderRotatingKineticBlock(KineticTileEntity te,
net.minecraft.block.BlockState renderedState,
com.mojang.blaze3d.matrix.MatrixStack ms,
com.mojang.blaze3d.vertex.IVertexBuilder buffer,
int light) |
protected void |
renderSafe(KineticTileEntity te,
float partialTicks,
com.mojang.blaze3d.matrix.MatrixStack ms,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
int light,
int overlay) |
static net.minecraft.block.BlockState |
shaft(net.minecraft.util.Direction.Axis axis) |
static SuperByteBuffer |
standardKineticRotationTransform(SuperByteBuffer buffer,
KineticTileEntity te,
int light) |
isInvalid, renderpublic static final Compartment<net.minecraft.block.BlockState> KINETIC_TILE
public static boolean rainbowMode
public KineticTileEntityRenderer(net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher dispatcher)
protected void renderSafe(KineticTileEntity te, float partialTicks, com.mojang.blaze3d.matrix.MatrixStack ms, net.minecraft.client.renderer.IRenderTypeBuffer buffer, int light, int overlay)
renderSafe in class SafeTileEntityRenderer<KineticTileEntity>public static void renderRotatingKineticBlock(KineticTileEntity te, net.minecraft.block.BlockState renderedState, com.mojang.blaze3d.matrix.MatrixStack ms, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int light)
public static void renderRotatingBuffer(KineticTileEntity te, SuperByteBuffer superBuffer, com.mojang.blaze3d.matrix.MatrixStack ms, com.mojang.blaze3d.vertex.IVertexBuilder buffer, int light)
public static float getAngleForTe(KineticTileEntity te, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Direction.Axis axis)
public static SuperByteBuffer standardKineticRotationTransform(SuperByteBuffer buffer, KineticTileEntity te, int light)
public static SuperByteBuffer kineticRotationTransform(SuperByteBuffer buffer, KineticTileEntity te, net.minecraft.util.Direction.Axis axis, float angle, int light)
protected static float getRotationOffsetForPosition(KineticTileEntity te, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Direction.Axis axis)
public static net.minecraft.block.BlockState shaft(net.minecraft.util.Direction.Axis axis)
public static net.minecraft.util.Direction.Axis getRotationAxisOf(KineticTileEntity te)
protected net.minecraft.block.BlockState getRenderedBlockState(KineticTileEntity te)
protected SuperByteBuffer getRotatedModel(KineticTileEntity te)