Class RenderBlockEntityBeacon<T extends BlockEntityBeacon>

java.lang.Object
org.cyclops.evilcraft.client.render.blockentity.RenderBlockEntityBeacon<T>
All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
Direct Known Subclasses:
RenderBlockEntityEnvironmentalAccumulator

public abstract class RenderBlockEntityBeacon<T extends BlockEntityBeacon> extends Object implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
EvilCraft's version of a beacon renderer, this allows us to have custom colors and customize other stuff without being dependend on vanilla code
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    int
     
    protected abstract boolean
    isInnerBeam(T tile)
     
    void
    render(T tileentity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn)
     
    protected void
    renderBeacon(T tile, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn)
     
    boolean
     

    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
  • Constructor Details

    • RenderBlockEntityBeacon

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

    • render

      public void render(T tileentity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn)
      Specified by:
      render in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends BlockEntityBeacon>
    • renderBeacon

      protected void renderBeacon(T tile, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn)
    • isInnerBeam

      protected abstract boolean isInnerBeam(T tile)
    • shouldRenderOffScreen

      public boolean shouldRenderOffScreen(T te)
      Specified by:
      shouldRenderOffScreen in interface net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends BlockEntityBeacon>
    • getViewDistance

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