Class SkeletonRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.LivingEntityRenderer<T,M>
net.minecraft.client.renderer.entity.MobRenderer<T,M>
net.minecraft.client.renderer.entity.HumanoidMobRenderer<AbstractSkeleton,SkeletonModel<AbstractSkeleton>>
net.minecraft.client.renderer.entity.SkeletonRenderer
- All Implemented Interfaces:
RenderLayerParent<AbstractSkeleton,SkeletonModel<AbstractSkeleton>>
- Direct Known Subclasses:
StrayRenderer
,WitherSkeletonRenderer
public class SkeletonRenderer
extends HumanoidMobRenderer<AbstractSkeleton,SkeletonModel<AbstractSkeleton>>
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.MobRenderer
LEASH_RENDER_STEPS
Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, model
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ConstructorDescriptionSkeletonRenderer(EntityRendererProvider.Context p_174380_)
SkeletonRenderer(EntityRendererProvider.Context p_174382_, ModelLayerLocation p_174383_, ModelLayerLocation p_174384_, ModelLayerLocation p_174385_)
-
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation(AbstractSkeleton p_115941_)
protected boolean
isShaking(AbstractSkeleton p_174389_)
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
render, shouldRender, shouldShowName
Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, scale, setupRotations
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
Field Details
-
SKELETON_LOCATION
-
-
Constructor Details
-
SkeletonRenderer
-
SkeletonRenderer
public SkeletonRenderer(EntityRendererProvider.Context p_174382_, ModelLayerLocation p_174383_, ModelLayerLocation p_174384_, ModelLayerLocation p_174385_)
-
-
Method Details
-
getTextureLocation
- Specified by:
getTextureLocation
in interfaceRenderLayerParent<AbstractSkeleton,SkeletonModel<AbstractSkeleton>>
- Overrides:
getTextureLocation
in classHumanoidMobRenderer<AbstractSkeleton,SkeletonModel<AbstractSkeleton>>
-
isShaking
- Overrides:
isShaking
in classLivingEntityRenderer<AbstractSkeleton,SkeletonModel<AbstractSkeleton>>
-