@Environment(value=CLIENT) public class DragonFireballEntityRenderer extends EntityRenderer<DragonFireballEntity>
Modifier and Type | Field and Description |
---|---|
private static RenderLayer |
LAYER |
private static Identifier |
TEXTURE |
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
DragonFireballEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
protected int |
getBlockLight(DragonFireballEntity dragonFireballEntity,
BlockPos blockPos) |
Identifier |
getTexture(DragonFireballEntity dragonFireballEntity) |
private static void |
produceVertex(VertexConsumer vertexConsumer,
Matrix4f modelMatrix,
Matrix3f normalMatrix,
int light,
float x,
int y,
int textureU,
int textureV) |
void |
render(DragonFireballEntity dragonFireballEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
getFontRenderer, getLight, getPositionOffset, getRenderManager, hasLabel, method_27950, renderLabelIfPresent, shouldRender
private static final Identifier TEXTURE
private static final RenderLayer LAYER
public DragonFireballEntityRenderer(EntityRenderDispatcher dispatcher)
protected int getBlockLight(DragonFireballEntity dragonFireballEntity, BlockPos blockPos)
getBlockLight
in class EntityRenderer<DragonFireballEntity>
public void render(DragonFireballEntity dragonFireballEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class EntityRenderer<DragonFireballEntity>
private static void produceVertex(VertexConsumer vertexConsumer, Matrix4f modelMatrix, Matrix3f normalMatrix, int light, float x, int y, int textureU, int textureV)
public Identifier getTexture(DragonFireballEntity dragonFireballEntity)
getTexture
in class EntityRenderer<DragonFireballEntity>