Class PlaqueBlockRenderer

java.lang.Object
com.wdiscute.starcatcher.blocks.plaque.PlaqueBlockRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>, net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<PlaqueBlockEntity>

public class PlaqueBlockRenderer extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>
  • Constructor Details

    • PlaqueBlockRenderer

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

    • extractRenderState

      public void extractRenderState(PlaqueBlockEntity be, PlaqueBlockRenderState state, float partialTicks, net.minecraft.world.phys.Vec3 cameraPosition, @Nullable net.minecraft.client.renderer.feature.ModelFeatureRenderer.CrumblingOverlay breakProgress)
      Specified by:
      extractRenderState in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>
    • submit

      public void submit(PlaqueBlockRenderState state, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.SubmitNodeCollector submitNodeCollector, net.minecraft.client.renderer.state.level.CameraRenderState camera)
      Specified by:
      submit in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>
    • getRenderBoundingBox

      public net.minecraft.world.phys.AABB getRenderBoundingBox(PlaqueBlockEntity blockEntity)
      Specified by:
      getRenderBoundingBox in interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<PlaqueBlockEntity>
    • createRenderState

      public PlaqueBlockRenderState createRenderState()
      Specified by:
      createRenderState in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<PlaqueBlockEntity, PlaqueBlockRenderState>