Class WitherSkullRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<WitherSkull>
net.minecraft.client.renderer.entity.WitherSkullRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SkullModel
private static final ResourceLocation
private static final ResourceLocation
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
protected int
getBlockLightLevel
(WitherSkull pEntity, BlockPos pPos) getTextureLocation
(WitherSkull pEntity) Returns the location of an entity's texture.void
render
(WitherSkull pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
WITHER_INVULNERABLE_LOCATION
-
WITHER_LOCATION
-
model
-
-
Constructor Details
-
WitherSkullRenderer
-
-
Method Details
-
createSkullLayer
-
getBlockLightLevel
- Overrides:
getBlockLightLevel
in classEntityRenderer<WitherSkull>
-
render
public void render(WitherSkull pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) - Overrides:
render
in classEntityRenderer<WitherSkull>
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in classEntityRenderer<WitherSkull>
-