Class MachineOreSlopperRenderer

java.lang.Object
com.hbm_m.client.render.implementations.MachineOreSlopperRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<MachineOreSlopperBlockEntity>

public class MachineOreSlopperRenderer extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<MachineOreSlopperBlockEntity>
BER fuer den Ore Slopper - rendert nur die rotierenden Teile (Fan, BladesLeft/Right), analog MachineMiningDrillRenderer. Die statischen Teile (Base/Bucket/Hydraulics/Slider) kommen weiterhin ueber das normale gebackene Blockmodell (siehe ore_slopper.json, dort sind Fan/BladesLeft/BladesRight per "visibility" ausgeblendet, damit sie nicht doppelt gezeichnet werden). Pivot-/Achsenwerte 1:1 aus RenderOreSlopper (Original) uebernommen; die Original-Slider-/ Bucket-Hub-Animation (Aufzugsmechanik) wird bewusst nicht nachgebaut (siehe Aufgabenstellung - nur die Rotationsanimationen wurden angefordert).
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
    render(MachineOreSlopperBlockEntity be, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight, int packedOverlay)
     

    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

    • MachineOreSlopperRenderer

      public MachineOreSlopperRenderer(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
  • Method Details

    • render

      public void render(MachineOreSlopperBlockEntity be, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, int packedLight, int packedOverlay)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<MachineOreSlopperBlockEntity>