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