Class TheEndPortalRenderer<T extends TheEndPortalBlockEntity>
java.lang.Object
net.minecraft.client.renderer.blockentity.TheEndPortalRenderer<T>
- All Implemented Interfaces:
BlockEntityRenderer<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_, Matrix4f p_173692_, VertexConsumer p_173693_)
private void
renderFace(T p_173695_, Matrix4f p_173696_, 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_, Direction p_173706_)
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
-
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_173695_, Matrix4f p_173696_, 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_, Direction p_173706_) -
getOffsetUp
protected float getOffsetUp() -
getOffsetDown
protected float getOffsetDown() -
renderType
-