Class RendererBlockEntityEndPortalBase<T extends net.minecraft.world.level.block.entity.BlockEntity>
java.lang.Object
org.cyclops.evilcraft.client.render.blockentity.RendererBlockEntityEndPortalBase<T>
- All Implemented Interfaces:
net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
- Direct Known Subclasses:
RenderBlockEntityBoxOfEternalClosure
public abstract class RendererBlockEntityEndPortalBase<T extends net.minecraft.world.level.block.entity.BlockEntity>
extends Object
implements net.minecraft.client.renderer.blockentity.BlockEntityRenderer<T>
Copy of EndPortalTileEntityRenderer without strict type param
-
Constructor Summary
ConstructorsConstructorDescriptionRendererBlockEntityEndPortalBase(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context) -
Method Summary
Modifier and TypeMethodDescriptionprotected floatprotected floatvoidrender(T p_112650_, float p_112651_, com.mojang.blaze3d.vertex.PoseStack p_112652_, net.minecraft.client.renderer.MultiBufferSource p_112653_, int p_112654_, int p_112655_) voidrenderCube(T p_173691_, org.joml.Matrix4f p_173692_, com.mojang.blaze3d.vertex.VertexConsumer p_173693_) voidrenderFace(T p_173695_, org.joml.Matrix4f p_173696_, com.mojang.blaze3d.vertex.VertexConsumer p_173697_, float p_173698_, float p_173699_, float p_173700_, float p_173701_, float p_173702_, float p_173703_, float p_173704_, float p_173705_, net.minecraft.core.Direction p_173706_) protected net.minecraft.client.renderer.RenderTypeabstract booleanshouldRenderFace(net.minecraft.core.Direction direction) Methods 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
getViewDistance, shouldRender, shouldRenderOffScreen
-
Constructor Details
-
RendererBlockEntityEndPortalBase
public RendererBlockEntityEndPortalBase(net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider.Context context)
-
-
Method Details
-
render
public void render(T p_112650_, float p_112651_, com.mojang.blaze3d.vertex.PoseStack p_112652_, net.minecraft.client.renderer.MultiBufferSource p_112653_, int p_112654_, int p_112655_) - Specified by:
renderin interfacenet.minecraft.client.renderer.blockentity.BlockEntityRenderer<T extends net.minecraft.world.level.block.entity.BlockEntity>
-
renderCube
public void renderCube(T p_173691_, org.joml.Matrix4f p_173692_, com.mojang.blaze3d.vertex.VertexConsumer p_173693_) -
renderFace
public void renderFace(T p_173695_, org.joml.Matrix4f p_173696_, com.mojang.blaze3d.vertex.VertexConsumer p_173697_, float p_173698_, float p_173699_, float p_173700_, float p_173701_, float p_173702_, float p_173703_, float p_173704_, float p_173705_, net.minecraft.core.Direction p_173706_) -
getOffsetUp
protected float getOffsetUp() -
getOffsetDown
protected float getOffsetDown() -
renderType
protected net.minecraft.client.renderer.RenderType renderType() -
shouldRenderFace
public abstract boolean shouldRenderFace(net.minecraft.core.Direction direction)
-