Class TheEndPortalRenderer<T extends TheEndPortalBlockEntity>
java.lang.Object
net.minecraft.client.renderer.blockentity.TheEndPortalRenderer<T>
- All Implemented Interfaces:
BlockEntityRenderer<T>
,IBlockEntityRendererExtension<T>
- Direct Known Subclasses:
TheEndGatewayRenderer
public class TheEndPortalRenderer<T extends TheEndPortalBlockEntity>
extends Object
implements BlockEntityRenderer<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected float
protected float
void
render
(T p_112650_, float p_112651_, PoseStack p_112652_, MultiBufferSource p_112653_, int p_112654_, int p_112655_) private void
renderCube
(T p_173691_, org.joml.Matrix4f p_254024_, VertexConsumer p_173693_) private void
renderFace
(T p_253949_, org.joml.Matrix4f p_254247_, VertexConsumer p_254390_, float p_254147_, float p_253639_, float p_254107_, float p_254109_, float p_254021_, float p_254458_, float p_254086_, float p_254310_, Direction p_253619_) protected RenderType
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
Methods inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
getRenderBoundingBox
-
Field Details
-
END_SKY_LOCATION
-
END_PORTAL_LOCATION
-
-
Constructor Details
-
TheEndPortalRenderer
-
-
Method Details
-
render
public void render(T p_112650_, float p_112651_, PoseStack p_112652_, MultiBufferSource p_112653_, int p_112654_, int p_112655_) - Specified by:
render
in interfaceBlockEntityRenderer<T extends TheEndPortalBlockEntity>
-
renderCube
-
renderFace
private void renderFace(T p_253949_, org.joml.Matrix4f p_254247_, VertexConsumer p_254390_, float p_254147_, float p_253639_, float p_254107_, float p_254109_, float p_254021_, float p_254458_, float p_254086_, float p_254310_, Direction p_253619_) -
getOffsetUp
protected float getOffsetUp() -
getOffsetDown
protected float getOffsetDown() -
renderType
-