Class AquariumRenderer

java.lang.Object
com.wdiscute.starcatcher.blocks.aquarium.AquariumRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<AquariumBlockEntity>, net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<AquariumBlockEntity>

public class AquariumRenderer extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<AquariumBlockEntity>
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    net.minecraft.world.phys.AABB
     
    void
    render(AquariumBlockEntity be, float partialTick, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource buffer, 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

    • AquariumRenderer

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

    • render

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

      public net.minecraft.world.phys.AABB getRenderBoundingBox(AquariumBlockEntity aquariumBlockEntity)
      Specified by:
      getRenderBoundingBox in interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension<AquariumBlockEntity>