@Environment(value=CLIENT) public class EnderDragonEntityRenderer extends EntityRenderer<EnderDragonEntity>
Modifier and Type | Class and Description |
---|---|
static class |
EnderDragonEntityRenderer.DragonEntityModel |
Modifier and Type | Field and Description |
---|---|
private static RenderLayer |
CRYSTAL_BEAM_LAYER |
static Identifier |
CRYSTAL_BEAM_TEXTURE |
private static RenderLayer |
DRAGON_CUTOUT |
private static RenderLayer |
DRAGON_DECAL |
private static RenderLayer |
DRAGON_EYES |
private static Identifier |
EXPLOSION_TEXTURE |
private static Identifier |
EYE_TEXTURE |
private static float |
HALF_SQRT_3 |
private EnderDragonEntityRenderer.DragonEntityModel |
model |
private static Identifier |
TEXTURE |
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
EnderDragonEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(EnderDragonEntity enderDragonEntity) |
private static void |
method_23156(VertexConsumer vertices,
Matrix4f matrix,
float y,
float x) |
private static void |
method_23157(VertexConsumer vertices,
Matrix4f matrix,
int alpha) |
private static void |
method_23158(VertexConsumer vertices,
Matrix4f matrix,
float y,
float x) |
private static void |
method_23159(VertexConsumer vertices,
Matrix4f matrix,
float y,
float z) |
void |
render(EnderDragonEntity enderDragonEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
static void |
renderCrystalBeam(float dx,
float dy,
float dz,
float tickDelta,
int age,
MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light) |
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, hasLabel, method_27950, renderLabelIfPresent, shouldRender
public static final Identifier CRYSTAL_BEAM_TEXTURE
private static final Identifier EXPLOSION_TEXTURE
private static final Identifier TEXTURE
private static final Identifier EYE_TEXTURE
private static final RenderLayer DRAGON_CUTOUT
private static final RenderLayer DRAGON_DECAL
private static final RenderLayer DRAGON_EYES
private static final RenderLayer CRYSTAL_BEAM_LAYER
private static final float HALF_SQRT_3
private final EnderDragonEntityRenderer.DragonEntityModel model
public EnderDragonEntityRenderer(EntityRenderDispatcher dispatcher)
public void render(EnderDragonEntity enderDragonEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class EntityRenderer<EnderDragonEntity>
private static void method_23157(VertexConsumer vertices, Matrix4f matrix, int alpha)
private static void method_23156(VertexConsumer vertices, Matrix4f matrix, float y, float x)
private static void method_23158(VertexConsumer vertices, Matrix4f matrix, float y, float x)
private static void method_23159(VertexConsumer vertices, Matrix4f matrix, float y, float z)
public static void renderCrystalBeam(float dx, float dy, float dz, float tickDelta, int age, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
public Identifier getTexture(EnderDragonEntity enderDragonEntity)
getTexture
in class EntityRenderer<EnderDragonEntity>