public class BeaconTileEntityRenderer extends TileEntityRenderer<BeaconTileEntity>
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
TEXTURE_BEACON_BEAM |
renderDispatcher
Constructor and Description |
---|
BeaconTileEntityRenderer(TileEntityRendererDispatcher rendererDispatcherIn) |
Modifier and Type | Method and Description |
---|---|
private static void |
addQuad(Matrix4f matrixPos,
Matrix3f matrixNormal,
IVertexBuilder bufferIn,
float red,
float green,
float blue,
float alpha,
int yMin,
int yMax,
float x1,
float z1,
float x2,
float z2,
float u1,
float u2,
float v1,
float v2) |
private static void |
addVertex(Matrix4f matrixPos,
Matrix3f matrixNormal,
IVertexBuilder bufferIn,
float red,
float green,
float blue,
float alpha,
int y,
float x,
float z,
float texU,
float texV) |
boolean |
isGlobalRenderer(BeaconTileEntity te) |
void |
render(BeaconTileEntity tileEntityIn,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int combinedLightIn,
int combinedOverlayIn) |
private static void |
renderBeamSegment(MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
float partialTicks,
long totalWorldTime,
int yOffset,
int height,
float[] colors) |
static void |
renderBeamSegment(MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
ResourceLocation textureLocation,
float partialTicks,
float textureScale,
long totalWorldTime,
int yOffset,
int height,
float[] colors,
float beamRadius,
float glowRadius) |
private static void |
renderPart(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
float red,
float green,
float blue,
float alpha,
int yMin,
int yMax,
float p_228840_8_,
float p_228840_9_,
float p_228840_10_,
float p_228840_11_,
float p_228840_12_,
float p_228840_13_,
float p_228840_14_,
float p_228840_15_,
float u1,
float u2,
float v1,
float v2) |
public static final ResourceLocation TEXTURE_BEACON_BEAM
public BeaconTileEntityRenderer(TileEntityRendererDispatcher rendererDispatcherIn)
public void render(BeaconTileEntity tileEntityIn, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn)
render
in class TileEntityRenderer<BeaconTileEntity>
private static void renderBeamSegment(MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, float partialTicks, long totalWorldTime, int yOffset, int height, float[] colors)
public static void renderBeamSegment(MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, ResourceLocation textureLocation, float partialTicks, float textureScale, long totalWorldTime, int yOffset, int height, float[] colors, float beamRadius, float glowRadius)
private static void renderPart(MatrixStack matrixStackIn, IVertexBuilder bufferIn, float red, float green, float blue, float alpha, int yMin, int yMax, float p_228840_8_, float p_228840_9_, float p_228840_10_, float p_228840_11_, float p_228840_12_, float p_228840_13_, float p_228840_14_, float p_228840_15_, float u1, float u2, float v1, float v2)
private static void addQuad(Matrix4f matrixPos, Matrix3f matrixNormal, IVertexBuilder bufferIn, float red, float green, float blue, float alpha, int yMin, int yMax, float x1, float z1, float x2, float z2, float u1, float u2, float v1, float v2)
private static void addVertex(Matrix4f matrixPos, Matrix3f matrixNormal, IVertexBuilder bufferIn, float red, float green, float blue, float alpha, int y, float x, float z, float texU, float texV)
public boolean isGlobalRenderer(BeaconTileEntity te)
isGlobalRenderer
in class TileEntityRenderer<BeaconTileEntity>