Class DrillRenderer
java.lang.Object
com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<DrillBlockEntity>
com.simibubi.create.content.kinetics.base.KineticBlockEntityRenderer<DrillBlockEntity>
com.simibubi.create.content.kinetics.drill.DrillRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<DrillBlockEntity>,net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<DrillBlockEntity>
-
Field Summary
Fields inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityRenderer
KINETIC_BLOCK, rainbowMode, REVERSED_CHUNK_BUFFER_LAYERS -
Constructor Summary
ConstructorsConstructorDescriptionDrillRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.createmod.catnip.render.SuperByteBuffergetRotatedModel(DrillBlockEntity be, net.minecraft.world.level.block.state.BlockState state) static voidrenderInContraption(MovementContext context, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) Methods inherited from class com.simibubi.create.content.kinetics.base.KineticBlockEntityRenderer
getAngleForBe, getRenderedBlockState, getRenderType, getRotationAxisOf, getRotationOffsetForPosition, kineticRotationTransform, renderRotatingBuffer, renderRotatingKineticBlock, renderSafe, 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
-
DrillRenderer
public DrillRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
getRotatedModel
protected net.createmod.catnip.render.SuperByteBuffer getRotatedModel(DrillBlockEntity be, net.minecraft.world.level.block.state.BlockState state) - Overrides:
getRotatedModelin classKineticBlockEntityRenderer<DrillBlockEntity>
-
renderInContraption
public static void renderInContraption(MovementContext context, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer)
-