Class WitherSkullRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<WitherSkullEntity>
-
- net.minecraft.client.renderer.entity.WitherSkullRenderer
-
public class WitherSkullRenderer extends EntityRenderer<WitherSkullEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private GenericHeadModel
model
private static ResourceLocation
WITHER_INVULNERABLE_LOCATION
private static ResourceLocation
WITHER_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description WitherSkullRenderer(EntityRendererManager p_i46129_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getBlockLightLevel(WitherSkullEntity p_225624_1_, BlockPos p_225624_2_)
ResourceLocation
getTextureLocation(WitherSkullEntity p_110775_1_)
void
render(WitherSkullEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
-
-
-
Field Detail
-
WITHER_INVULNERABLE_LOCATION
private static final ResourceLocation WITHER_INVULNERABLE_LOCATION
-
WITHER_LOCATION
private static final ResourceLocation WITHER_LOCATION
-
model
private final GenericHeadModel model
-
-
Constructor Detail
-
WitherSkullRenderer
public WitherSkullRenderer(EntityRendererManager p_i46129_1_)
-
-
Method Detail
-
getBlockLightLevel
protected int getBlockLightLevel(WitherSkullEntity p_225624_1_, BlockPos p_225624_2_)
- Overrides:
getBlockLightLevel
in classEntityRenderer<WitherSkullEntity>
-
render
public void render(WitherSkullEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
- Overrides:
render
in classEntityRenderer<WitherSkullEntity>
-
getTextureLocation
public ResourceLocation getTextureLocation(WitherSkullEntity p_110775_1_)
- Specified by:
getTextureLocation
in classEntityRenderer<WitherSkullEntity>
-
-