Class IndustrialTurbineRenderer
java.lang.Object
com.hbm_m.client.render.implementations.IndustrialTurbineRenderer
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<MachineIndustrialTurbineBlockEntity>
public class IndustrialTurbineRenderer
extends Object
implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<MachineIndustrialTurbineBlockEntity>
Renderer for the Industrial Turbine.
Currently a placeholder — the static model is rendered via RenderShape.MODEL.
TODO: Animate the Flywheel OBJ group spinning when the turbine is active.
-
Constructor Summary
ConstructorsConstructorDescriptionIndustrialTurbineRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(MachineIndustrialTurbineBlockEntity blockEntity, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight, int packedOverlay) booleanshouldRenderOffScreen(MachineIndustrialTurbineBlockEntity blockEntity) Methods 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
-
Constructor Details
-
IndustrialTurbineRenderer
public IndustrialTurbineRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
render
public void render(MachineIndustrialTurbineBlockEntity blockEntity, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource buffer, int packedLight, int packedOverlay) - Specified by:
renderin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<MachineIndustrialTurbineBlockEntity>
-
shouldRenderOffScreen
- Specified by:
shouldRenderOffScreenin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<MachineIndustrialTurbineBlockEntity>
-