Class GantryCarriageRenderer
java.lang.Object
com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<GantryCarriageBlockEntity>
com.simibubi.create.content.kinetics.base.KineticBlockEntityRenderer<GantryCarriageBlockEntity>
com.simibubi.create.content.contraptions.gantry.GantryCarriageRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<GantryCarriageBlockEntity>,net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<GantryCarriageBlockEntity>
-
Field Summary
Fields inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityRenderer
KINETIC_BLOCK, rainbowMode, REVERSED_CHUNK_BUFFER_LAYERS -
Constructor Summary
ConstructorsConstructorDescriptionGantryCarriageRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionstatic floatgetAngleForBE(KineticBlockEntity be, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction.Axis axis) protected net.minecraft.world.level.block.state.BlockStateprotected voidrenderSafe(GantryCarriageBlockEntity be, 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.kinetics.base.KineticBlockEntityRenderer
getAngleForBe, getRenderType, getRotatedModel, getRotationAxisOf, getRotationOffsetForPosition, kineticRotationTransform, renderRotatingBuffer, renderRotatingKineticBlock, shaft, standardKineticRotationTransformMethods inherited from class com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer
getRenderBoundingBox, isInvalid, render, shouldCullItemMethods 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(GantryCarriageBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) - Overrides:
renderSafein classKineticBlockEntityRenderer<GantryCarriageBlockEntity>
-
getAngleForBE
public static float getAngleForBE(KineticBlockEntity be, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction.Axis axis) -
getRenderedBlockState
protected net.minecraft.world.level.block.state.BlockState getRenderedBlockState(GantryCarriageBlockEntity be) - Overrides:
getRenderedBlockStatein classKineticBlockEntityRenderer<GantryCarriageBlockEntity>
-