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 RenderTypestatic final ResourceLocationprivate static final RenderTypeprivate static final ResourceLocationprivate static final ResourceLocationprivate static final ResourceLocationprivate static final RenderTypeprivate static final floatprivate final EnderDragonRenderer.DragonModelprivate static final RenderTypeFields 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 LayerDefinitiongetTextureLocation(EnderDragon pEntity) Returns the location of an entity's texture.voidrender(EnderDragon pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) static voidrenderCrystalBeams(float pX, float pY, float pZ, float pPartialTick, int pTickCount, PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight) private static voidrenderRays(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:
renderin 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:
getTextureLocationin classEntityRenderer<EnderDragon>
-
createBodyLayer
-