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 entity) Returns the location of an entity's texture.voidrender(EnderDragon entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) static voidrenderCrystalBeams(float x, float y, float z, float partialTick, int tickCount, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight) private static voidrenderRays(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:
renderin 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:
getTextureLocationin classEntityRenderer<EnderDragon>
-
createBodyLayer
-