Class EnderDragonRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<EnderDragonEntity>
-
- net.minecraft.client.renderer.entity.EnderDragonRenderer
-
public class EnderDragonRenderer extends EntityRenderer<EnderDragonEntity>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnderDragonRenderer.EnderDragonModel
-
Field Summary
Fields Modifier and Type Field Description private static RenderType
BEAM
static ResourceLocation
CRYSTAL_BEAM_LOCATION
private static RenderType
DECAL
private static ResourceLocation
DRAGON_EXPLODING_LOCATION
private static ResourceLocation
DRAGON_EYES_LOCATION
private static ResourceLocation
DRAGON_LOCATION
private static RenderType
EYES
private static float
HALF_SQRT_3
private EnderDragonRenderer.EnderDragonModel
model
private static RenderType
RENDER_TYPE
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description EnderDragonRenderer(EntityRendererManager p_i46183_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(EnderDragonEntity p_110775_1_)
void
render(EnderDragonEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
static void
renderCrystalBeams(float p_229059_0_, float p_229059_1_, float p_229059_2_, float p_229059_3_, int p_229059_4_, MatrixStack p_229059_5_, IRenderTypeBuffer p_229059_6_, int p_229059_7_)
private static void
vertex01(IVertexBuilder p_229061_0_, Matrix4f p_229061_1_, int p_229061_2_)
private static void
vertex2(IVertexBuilder p_229060_0_, Matrix4f p_229060_1_, float p_229060_2_, float p_229060_3_)
private static void
vertex3(IVertexBuilder p_229062_0_, Matrix4f p_229062_1_, float p_229062_2_, float p_229062_3_)
private static void
vertex4(IVertexBuilder p_229063_0_, Matrix4f p_229063_1_, float p_229063_2_, float p_229063_3_)
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
-
-
-
Field Detail
-
CRYSTAL_BEAM_LOCATION
public static final ResourceLocation CRYSTAL_BEAM_LOCATION
-
DRAGON_EXPLODING_LOCATION
private static final ResourceLocation DRAGON_EXPLODING_LOCATION
-
DRAGON_LOCATION
private static final ResourceLocation DRAGON_LOCATION
-
DRAGON_EYES_LOCATION
private static final ResourceLocation DRAGON_EYES_LOCATION
-
RENDER_TYPE
private static final RenderType RENDER_TYPE
-
DECAL
private static final RenderType DECAL
-
EYES
private static final RenderType EYES
-
BEAM
private static final RenderType BEAM
-
HALF_SQRT_3
private static final float HALF_SQRT_3
-
model
private final EnderDragonRenderer.EnderDragonModel model
-
-
Constructor Detail
-
EnderDragonRenderer
public EnderDragonRenderer(EntityRendererManager p_i46183_1_)
-
-
Method Detail
-
render
public void render(EnderDragonEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classEntityRenderer<EnderDragonEntity>
-
vertex01
private static void vertex01(IVertexBuilder p_229061_0_, Matrix4f p_229061_1_, int p_229061_2_)
-
vertex2
private static void vertex2(IVertexBuilder p_229060_0_, Matrix4f p_229060_1_, float p_229060_2_, float p_229060_3_)
-
vertex3
private static void vertex3(IVertexBuilder p_229062_0_, Matrix4f p_229062_1_, float p_229062_2_, float p_229062_3_)
-
vertex4
private static void vertex4(IVertexBuilder p_229063_0_, Matrix4f p_229063_1_, float p_229063_2_, float p_229063_3_)
-
renderCrystalBeams
public static void renderCrystalBeams(float p_229059_0_, float p_229059_1_, float p_229059_2_, float p_229059_3_, int p_229059_4_, MatrixStack p_229059_5_, IRenderTypeBuffer p_229059_6_, int p_229059_7_)
-
getTextureLocation
public ResourceLocation getTextureLocation(EnderDragonEntity p_110775_1_)
- Specified by:
getTextureLocation
in classEntityRenderer<EnderDragonEntity>
-
-