Class PiglinRenderer
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<Mob>
net.minecraft.client.renderer.entity.LivingEntityRenderer<Mob,PiglinModel<Mob>>
net.minecraft.client.renderer.entity.MobRenderer<Mob,PiglinModel<Mob>>
net.minecraft.client.renderer.entity.HumanoidMobRenderer<Mob,PiglinModel<Mob>>
net.minecraft.client.renderer.entity.PiglinRenderer
- All Implemented Interfaces:
RenderLayerParent<Mob,
PiglinModel<Mob>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final Map
<EntityType<?>, ResourceLocation> 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
ConstructorDescriptionPiglinRenderer
(EntityRendererProvider.Context p_174344_, ModelLayerLocation p_174345_, ModelLayerLocation p_174346_, ModelLayerLocation p_174347_, boolean p_174348_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static PiglinModel
<Mob> createModel
(EntityModelSet p_174350_, ModelLayerLocation p_174351_, boolean p_174352_) getTextureLocation
(Mob p_115708_) protected boolean
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
getShadowRadius, render, shouldRender, shouldShowName
Methods inherited from class net.minecraft.client.renderer.entity.LivingEntityRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isEntityUpsideDown, scale, setupRotations
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
Field Details
-
TEXTURES
-
PIGLIN_CUSTOM_HEAD_SCALE
private static final float PIGLIN_CUSTOM_HEAD_SCALE- See Also:
-
-
Constructor Details
-
PiglinRenderer
public PiglinRenderer(EntityRendererProvider.Context p_174344_, ModelLayerLocation p_174345_, ModelLayerLocation p_174346_, ModelLayerLocation p_174347_, boolean p_174348_)
-
-
Method Details
-
createModel
private static PiglinModel<Mob> createModel(EntityModelSet p_174350_, ModelLayerLocation p_174351_, boolean p_174352_) -
getTextureLocation
- Specified by:
getTextureLocation
in interfaceRenderLayerParent<Mob,
PiglinModel<Mob>> - Specified by:
getTextureLocation
in classEntityRenderer<Mob>
-
isShaking
- Overrides:
isShaking
in classLivingEntityRenderer<Mob,
PiglinModel<Mob>>
-