Class BotanyPotRenderer

java.lang.Object
net.darkhax.botanypots.common.impl.block.BotanyPotRenderer
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BotanyPotBlockEntity>

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

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

    Modifier and Type
    Method
    Description
    static void
    applyRotation(AxisAlignedRotation rotation, com.mojang.blaze3d.vertex.PoseStack pose)
     
    int
     
    void
    render(BotanyPotBlockEntity pot, float tickDelta, @NotNull com.mojang.blaze3d.vertex.PoseStack pose, @NotNull net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, int overlay)
     

    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

    shouldRender, shouldRenderOffScreen
  • Constructor Details

    • BotanyPotRenderer

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

    • applyRotation

      public static void applyRotation(AxisAlignedRotation rotation, com.mojang.blaze3d.vertex.PoseStack pose)
    • render

      public void render(BotanyPotBlockEntity pot, float tickDelta, @NotNull @NotNull com.mojang.blaze3d.vertex.PoseStack pose, @NotNull @NotNull net.minecraft.client.renderer.MultiBufferSource bufferSource, int light, int overlay)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BotanyPotBlockEntity>
    • getViewDistance

      public int getViewDistance()
      Specified by:
      getViewDistance in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<BotanyPotBlockEntity>