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 entity, BlockPos pos) getTextureLocation
(WitherSkull entity) Returns the location of an entity's texture.void
render
(WitherSkull entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) 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 entity, float entityYaw, float partialTicks, PoseStack poseStack, MultiBufferSource buffer, int packedLight) - Overrides:
render
in classEntityRenderer<WitherSkull>
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocation
in classEntityRenderer<WitherSkull>
-