Class GantryCarriageRenderer
java.lang.Object
com.simibubi.create.foundation.tileEntity.renderer.SafeTileEntityRenderer<KineticTileEntity>
com.simibubi.create.content.contraptions.base.KineticTileEntityRenderer
com.simibubi.create.content.contraptions.components.structureMovement.gantry.GantryCarriageRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<KineticTileEntity>
-
Field Summary
Fields inherited from class com.simibubi.create.content.contraptions.base.KineticTileEntityRenderer
KINETIC_TILE, rainbowMode, REVERSED_CHUNK_BUFFER_LAYERS -
Constructor Summary
ConstructorsConstructorDescriptionGantryCarriageRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionstatic floatgetAngleForTe(KineticTileEntity te, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction.Axis axis) protected net.minecraft.world.level.block.state.BlockStateprotected voidrenderSafe(KineticTileEntity te, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) Methods inherited from class com.simibubi.create.content.contraptions.base.KineticTileEntityRenderer
getRenderType, getRotatedModel, getRotationAxisOf, getRotationOffsetForPosition, kineticRotationTransform, renderRotatingBuffer, renderRotatingKineticBlock, shaft, standardKineticRotationTransformMethods inherited from class com.simibubi.create.foundation.tileEntity.renderer.SafeTileEntityRenderer
isInvalid, renderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer
getViewDistance, shouldRender, shouldRenderOffScreen
-
Constructor Details
-
GantryCarriageRenderer
public GantryCarriageRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
renderSafe
protected void renderSafe(KineticTileEntity te, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) - Overrides:
renderSafein classKineticTileEntityRenderer
-
getAngleForTe
public static float getAngleForTe(KineticTileEntity te, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction.Axis axis) -
getRenderedBlockState
protected net.minecraft.world.level.block.state.BlockState getRenderedBlockState(KineticTileEntity te) - Overrides:
getRenderedBlockStatein classKineticTileEntityRenderer
-