Class ContraptionControlsRenderer
java.lang.Object
com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer<ContraptionControlsBlockEntity>
com.simibubi.create.foundation.blockEntity.renderer.SmartBlockEntityRenderer<ContraptionControlsBlockEntity>
com.simibubi.create.content.contraptions.actors.contraptionControls.ContraptionControlsRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<ContraptionControlsBlockEntity>,net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<ContraptionControlsBlockEntity>
public class ContraptionControlsRenderer
extends SmartBlockEntityRenderer<ContraptionControlsBlockEntity>
-
Constructor Summary
ConstructorsConstructorDescriptionContraptionControlsRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrenderInContraption(MovementContext ctx, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer) protected voidrenderSafe(ContraptionControlsBlockEntity blockEntity, float pt, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) Methods inherited from class com.simibubi.create.foundation.blockEntity.renderer.SmartBlockEntityRenderer
renderNameplateOnHoverMethods 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
-
ContraptionControlsRenderer
public ContraptionControlsRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
renderSafe
protected void renderSafe(ContraptionControlsBlockEntity blockEntity, float pt, com.mojang.blaze3d.vertex.PoseStack ms, net.minecraft.client.renderer.MultiBufferSource buffer, int light, int overlay) - Overrides:
renderSafein classSmartBlockEntityRenderer<ContraptionControlsBlockEntity>
-
renderInContraption
public static void renderInContraption(MovementContext ctx, VirtualRenderWorld renderWorld, ContraptionMatrices matrices, net.minecraft.client.renderer.MultiBufferSource buffer)
-