Class EnderDragonRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<EnderDragon>
net.minecraft.client.renderer.entity.EnderDragonRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier 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, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
getTextureLocation
(EnderDragon pEntity) Returns the location of an entity's texture.void
render
(EnderDragon pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) static void
renderCrystalBeams
(float pX, float pY, float pZ, float pPartialTick, int pTickCount, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight) private static void
renderRays
(PoseStack pPoseStack, float pDragonDeathCompletion, VertexConsumer pBuffer) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, 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 pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) - Overrides:
render
in classEntityRenderer<EnderDragon>
-
renderRays
private static void renderRays(PoseStack pPoseStack, float pDragonDeathCompletion, VertexConsumer pBuffer) -
renderCrystalBeams
public static void renderCrystalBeams(float pX, float pY, float pZ, float pPartialTick, int pTickCount, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight) -
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in classEntityRenderer<EnderDragon>
-
createBodyLayer
-