Class GhastRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<GhastEntity,GhastModel<GhastEntity>>
-
- net.minecraft.client.renderer.entity.GhastRenderer
-
- All Implemented Interfaces:
IEntityRenderer<GhastEntity,GhastModel<GhastEntity>>
public class GhastRenderer extends MobRenderer<GhastEntity,GhastModel<GhastEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
GHAST_LOCATION
private static ResourceLocation
GHAST_SHOOTING_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description GhastRenderer(EntityRendererManager p_i46174_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(GhastEntity p_110775_1_)
protected void
scale(GhastEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, render, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
GHAST_LOCATION
private static final ResourceLocation GHAST_LOCATION
-
GHAST_SHOOTING_LOCATION
private static final ResourceLocation GHAST_SHOOTING_LOCATION
-
-
Constructor Detail
-
GhastRenderer
public GhastRenderer(EntityRendererManager p_i46174_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(GhastEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<GhastEntity,GhastModel<GhastEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<GhastEntity>
-
scale
protected void scale(GhastEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
- Overrides:
scale
in classLivingRenderer<GhastEntity,GhastModel<GhastEntity>>
-
-