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 entity) Returns the location of an entity's texture.void
render
(EnderDragon entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) static void
renderCrystalBeams
(float x, float y, float z, float partialTick, int tickCount, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) private static void
renderRays
(PoseStack poseStack, float dragonDeathCompletion, VertexConsumer buffer) 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 entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) - Overrides:
render
in classEntityRenderer<EnderDragon>
-
renderRays
private static void renderRays(PoseStack poseStack, float dragonDeathCompletion, VertexConsumer buffer) -
renderCrystalBeams
public static void renderCrystalBeams(float x, float y, float z, float partialTick, int tickCount, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) -
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in classEntityRenderer<EnderDragon>
-
createBodyLayer
-