Class EndPortalTileEntityRenderer<T extends EndPortalTileEntity>
- java.lang.Object
-
- net.minecraft.client.renderer.tileentity.TileEntityRenderer<T>
-
- net.minecraft.client.renderer.tileentity.EndPortalTileEntityRenderer<T>
-
- Direct Known Subclasses:
EndGatewayTileEntityRenderer
public class EndPortalTileEntityRenderer<T extends EndPortalTileEntity> extends TileEntityRenderer<T>
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceLocation
END_PORTAL_LOCATION
static ResourceLocation
END_SKY_LOCATION
private static java.util.Random
RANDOM
private static java.util.List<RenderType>
RENDER_TYPES
-
Fields inherited from class net.minecraft.client.renderer.tileentity.TileEntityRenderer
renderer
-
-
Constructor Summary
Constructors Constructor Description EndPortalTileEntityRenderer(TileEntityRendererDispatcher p_i226019_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected float
getOffset()
protected int
getPasses(double p_191286_1_)
void
render(T p_225616_1_, float p_225616_2_, MatrixStack p_225616_3_, IRenderTypeBuffer p_225616_4_, int p_225616_5_, int p_225616_6_)
private void
renderCube(T p_228883_1_, float p_228883_2_, float p_228883_3_, Matrix4f p_228883_4_, IVertexBuilder p_228883_5_)
private void
renderFace(T p_228884_1_, Matrix4f p_228884_2_, IVertexBuilder p_228884_3_, float p_228884_4_, float p_228884_5_, float p_228884_6_, float p_228884_7_, float p_228884_8_, float p_228884_9_, float p_228884_10_, float p_228884_11_, float p_228884_12_, float p_228884_13_, float p_228884_14_, Direction p_228884_15_)
-
Methods inherited from class net.minecraft.client.renderer.tileentity.TileEntityRenderer
shouldRenderOffScreen
-
-
-
-
Field Detail
-
END_SKY_LOCATION
public static final ResourceLocation END_SKY_LOCATION
-
END_PORTAL_LOCATION
public static final ResourceLocation END_PORTAL_LOCATION
-
RANDOM
private static final java.util.Random RANDOM
-
RENDER_TYPES
private static final java.util.List<RenderType> RENDER_TYPES
-
-
Constructor Detail
-
EndPortalTileEntityRenderer
public EndPortalTileEntityRenderer(TileEntityRendererDispatcher p_i226019_1_)
-
-
Method Detail
-
render
public void render(T p_225616_1_, float p_225616_2_, MatrixStack p_225616_3_, IRenderTypeBuffer p_225616_4_, int p_225616_5_, int p_225616_6_)
- Specified by:
render
in classTileEntityRenderer<T extends EndPortalTileEntity>
-
renderCube
private void renderCube(T p_228883_1_, float p_228883_2_, float p_228883_3_, Matrix4f p_228883_4_, IVertexBuilder p_228883_5_)
-
renderFace
private void renderFace(T p_228884_1_, Matrix4f p_228884_2_, IVertexBuilder p_228884_3_, float p_228884_4_, float p_228884_5_, float p_228884_6_, float p_228884_7_, float p_228884_8_, float p_228884_9_, float p_228884_10_, float p_228884_11_, float p_228884_12_, float p_228884_13_, float p_228884_14_, Direction p_228884_15_)
-
getPasses
protected int getPasses(double p_191286_1_)
-
getOffset
protected float getOffset()
-
-