Class UniversalSensorRenderer

All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<UniversalSensorBlockEntity>

public class UniversalSensorRenderer extends AbstractBlockEntityModelRenderer<UniversalSensorBlockEntity>
  • Constructor Summary

    Constructors
    Constructor
    Description
    UniversalSensorRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.model.geom.builders.LayerDefinition
     
    void
    renderModel(UniversalSensorBlockEntity te, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn)
     
    void
    setRotationAngle(net.minecraft.client.model.geom.ModelPart modelRenderer, float x, float y, float z)
     

    Methods inherited from class me.desht.pneumaticcraft.client.render.blockentity.AbstractBlockEntityModelRenderer

    render, renderExtras

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer

    getViewDistance, shouldRender, shouldRenderOffScreen
  • Constructor Details

    • UniversalSensorRenderer

      public UniversalSensorRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context ctx)
  • Method Details

    • createBodyLayer

      public static net.minecraft.client.model.geom.builders.LayerDefinition createBodyLayer()
    • setRotationAngle

      public void setRotationAngle(net.minecraft.client.model.geom.ModelPart modelRenderer, float x, float y, float z)
    • renderModel

      public void renderModel(UniversalSensorBlockEntity te, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn)