Class EnderDragonRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<EnderDragon>
net.minecraft.client.renderer.entity.EnderDragonRenderer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final RenderType
static final ResourceLocation
private static final RenderType
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final RenderType
private static final float
private final EnderDragonRenderer.DragonModel
private static final RenderType
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
getTextureLocation
(EnderDragon p_114206_) void
render
(EnderDragon p_114208_, float p_114209_, float p_114210_, PoseStack p_114211_, MultiBufferSource p_114212_, int p_114213_) static void
renderCrystalBeams
(float p_114188_, float p_114189_, float p_114190_, float p_114191_, int p_114192_, PoseStack p_114193_, MultiBufferSource p_114194_, int p_114195_) private static void
vertex01
(VertexConsumer p_254498_, org.joml.Matrix4f p_253891_, int p_254278_) private static void
vertex2
(VertexConsumer p_253956_, org.joml.Matrix4f p_254053_, float p_253704_, float p_253701_) private static void
vertex3
(VertexConsumer p_253850_, org.joml.Matrix4f p_254379_, float p_253729_, float p_254030_) private static void
vertex4
(VertexConsumer p_254184_, org.joml.Matrix4f p_254082_, float p_253649_, float p_253694_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
CRYSTAL_BEAM_LOCATION
-
DRAGON_EXPLODING_LOCATION
-
DRAGON_LOCATION
-
DRAGON_EYES_LOCATION
-
RENDER_TYPE
-
DECAL
-
EYES
-
BEAM
-
HALF_SQRT_3
private static final float HALF_SQRT_3 -
model
-
-
Constructor Details
-
EnderDragonRenderer
-
-
Method Details
-
render
public void render(EnderDragon p_114208_, float p_114209_, float p_114210_, PoseStack p_114211_, MultiBufferSource p_114212_, int p_114213_) - Overrides:
render
in classEntityRenderer<EnderDragon>
-
vertex01
-
vertex2
private static void vertex2(VertexConsumer p_253956_, org.joml.Matrix4f p_254053_, float p_253704_, float p_253701_) -
vertex3
private static void vertex3(VertexConsumer p_253850_, org.joml.Matrix4f p_254379_, float p_253729_, float p_254030_) -
vertex4
private static void vertex4(VertexConsumer p_254184_, org.joml.Matrix4f p_254082_, float p_253649_, float p_253694_) -
renderCrystalBeams
public static void renderCrystalBeams(float p_114188_, float p_114189_, float p_114190_, float p_114191_, int p_114192_, PoseStack p_114193_, MultiBufferSource p_114194_, int p_114195_) -
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<EnderDragon>
-
createBodyLayer
-