Class WitherSkullRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<WitherSkull>
net.minecraft.client.renderer.entity.WitherSkullRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SkullModelprivate static final ResourceLocationprivate 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 TypeMethodDescriptionstatic LayerDefinitionprotected intgetBlockLightLevel(WitherSkull pEntity, BlockPos pPos) getTextureLocation(WitherSkull pEntity) Returns the location of an entity's texture.voidrender(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:
getBlockLightLevelin classEntityRenderer<WitherSkull>
-
render
public void render(WitherSkull pEntity, float pEntityYaw, float pPartialTicks, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) - Overrides:
renderin classEntityRenderer<WitherSkull>
-
getTextureLocation
Returns the location of an entity's texture.- Specified by:
getTextureLocationin classEntityRenderer<WitherSkull>
-