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
ConstructorsConstructorDescriptionRenderBlockEntityBeacon(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionintprotected abstract booleanisInnerBeam(T tile) voidrender(T tileentity, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn) protected voidrenderBeacon(T tile, float partialTicks, com.mojang.blaze3d.vertex.PoseStack matrixStackIn, net.minecraft.client.renderer.MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
renderin interfacenet.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
-
shouldRenderOffScreen
- Specified by:
shouldRenderOffScreenin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends BlockEntityBeacon>
-
getViewDistance
public int getViewDistance()- Specified by:
getViewDistancein interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends BlockEntityBeacon>
-