Class DragonFireballRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<DragonFireball>
net.minecraft.client.renderer.entity.DragonFireballRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RenderTypeprivate static final ResourceLocationFields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, NAMETAG_SCALE, shadowRadius, shadowStrength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetBlockLightLevel(DragonFireball pEntity, BlockPos pPos) getTextureLocation(DragonFireball pEntity) Returns the location of an entity's texture.voidrender(DragonFireball pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) private static voidvertex(VertexConsumer pConsumer, PoseStack.Pose pPose, int pPackedLight, float pX, int pY, int pU, int pV) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
TEXTURE_LOCATION
-
RENDER_TYPE
-
-
Constructor Details
-
DragonFireballRenderer
-
-
Method Details
-
getBlockLightLevel
- Overrides:
getBlockLightLevelin classEntityRenderer<DragonFireball>
-
render
public void render(DragonFireball pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) - Overrides:
renderin classEntityRenderer<DragonFireball>
-
vertex
private static void vertex(VertexConsumer pConsumer, PoseStack.Pose pPose, int pPackedLight, float pX, int pY, int pU, int pV) -
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocationin classEntityRenderer<DragonFireball>
-