public class EndPortalTileEntityRenderer<T extends EndPortalTileEntity> extends TileEntityRenderer<T>
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
END_PORTAL_TEXTURE |
static ResourceLocation |
END_SKY_TEXTURE |
private static java.util.Random |
RANDOM |
private static java.util.List<RenderType> |
RENDER_TYPES |
renderDispatcher
Constructor and Description |
---|
EndPortalTileEntityRenderer(TileEntityRendererDispatcher rendererDispatcherIn) |
Modifier and Type | Method and Description |
---|---|
protected float |
getOffset() |
protected int |
getPasses(double p_191286_1_) |
void |
render(T tileEntityIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
int combinedOverlayIn) |
private void |
renderCube(T tileEntityIn,
float p_228883_2_,
float p_228883_3_,
Matrix4f p_228883_4_,
IVertexBuilder p_228883_5_) |
private void |
renderFace(T tileEntityIn,
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_) |
isGlobalRenderer
public static final ResourceLocation END_SKY_TEXTURE
public static final ResourceLocation END_PORTAL_TEXTURE
private static final java.util.Random RANDOM
private static final java.util.List<RenderType> RENDER_TYPES
public EndPortalTileEntityRenderer(TileEntityRendererDispatcher rendererDispatcherIn)
public void render(T tileEntityIn, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn)
render
in class TileEntityRenderer<T extends EndPortalTileEntity>
private void renderCube(T tileEntityIn, float p_228883_2_, float p_228883_3_, Matrix4f p_228883_4_, IVertexBuilder p_228883_5_)
private void renderFace(T tileEntityIn, 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_)
protected int getPasses(double p_191286_1_)
protected float getOffset()