Class SkeletonRenderer<T extends AbstractSkeleton>
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.LivingEntityRenderer<T,SkeletonModel<T>>
net.minecraft.client.renderer.entity.MobRenderer<T,SkeletonModel<T>>
net.minecraft.client.renderer.entity.HumanoidMobRenderer<T,SkeletonModel<T>>
net.minecraft.client.renderer.entity.SkeletonRenderer<T>
- All Implemented Interfaces:
RenderLayerParent<T,
SkeletonModel<T>>
- Direct Known Subclasses:
BoggedRenderer
,StrayRenderer
,WitherSkeletonRenderer
public class SkeletonRenderer<T extends AbstractSkeleton>
extends HumanoidMobRenderer<T,SkeletonModel<T>>
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
layers, model
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, LEASH_RENDER_STEPS, 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_) SkeletonRenderer
(EntityRendererProvider.Context p_331743_, ModelLayerLocation p_328810_, ModelLayerLocation p_335283_, SkeletonModel<T> p_335558_) -
Method Summary
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
getShadowRadius, shouldShowName
Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, render, scale, setupRotations
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender
-
Field Details
-
SKELETON_LOCATION
-
-
Constructor Details
-
SkeletonRenderer
-
SkeletonRenderer
public SkeletonRenderer(EntityRendererProvider.Context p_174382_, ModelLayerLocation p_174383_, ModelLayerLocation p_174384_, ModelLayerLocation p_174385_) -
SkeletonRenderer
public SkeletonRenderer(EntityRendererProvider.Context p_331743_, ModelLayerLocation p_328810_, ModelLayerLocation p_335283_, SkeletonModel<T> p_335558_)
-
-
Method Details
-
getTextureLocation
- Specified by:
getTextureLocation
in interfaceRenderLayerParent<T extends AbstractSkeleton,
SkeletonModel<T extends AbstractSkeleton>> - Specified by:
getTextureLocation
in classEntityRenderer<T extends AbstractSkeleton>
-
isShaking
- Overrides:
isShaking
in classLivingEntityRenderer<T extends AbstractSkeleton,
SkeletonModel<T extends AbstractSkeleton>>
-