Class HarvesterRenderer
java.lang.Object
com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<HarvesterBlockEntity>
com.simibubi.create.content.contraptions.actors.harvester.HarvesterRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<HarvesterBlockEntity>,net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<HarvesterBlockEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionHarvesterRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrenderInContraption(MovementContext context, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffers) protected voidrenderSafe(HarvesterBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) static voidtransform(net.minecraft.world.level.Level world, net.minecraft.core.Direction facing, net.createmod.catnip.render.SuperByteBuffer superBuffer, float speed, net.minecraft.world.phys.Vec3 pivot) Methods 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
-
HarvesterRenderer
public HarvesterRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
renderSafe
protected void renderSafe(HarvesterBlockEntity be, float partialTicks, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) - Specified by:
renderSafein classSafeBlockEntityRenderer<HarvesterBlockEntity>
-
renderInContraption
public static void renderInContraption(MovementContext context, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffers) -
transform
public static void transform(net.minecraft.world.level.Level world, net.minecraft.core.Direction facing, net.createmod.catnip.render.SuperByteBuffer superBuffer, float speed, net.minecraft.world.phys.Vec3 pivot)
-