@Environment(value=CLIENT) public class PiglinEntityRenderer extends BipedEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>
Modifier and Type | Field and Description |
---|---|
private static Map<EntityType<?>,Identifier> |
field_25793 |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
PiglinEntityRenderer(EntityRenderDispatcher dispatcher,
boolean zombified) |
Modifier and Type | Method and Description |
---|---|
private static PiglinEntityModel<MobEntity> |
getPiglinModel(boolean zombified) |
Identifier |
getTexture(MobEntity mobEntity) |
protected boolean |
isShaking(MobEntity mobEntity)
Returns if this entity is shaking in the way a zombie villager,
zombie, husk, or piglin undergoing conversion shakes.
|
hasLabel, method_23186, method_23187, render, shouldRender
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isVisible, scale, setupTransforms
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Map<EntityType<?>,Identifier> field_25793
public PiglinEntityRenderer(EntityRenderDispatcher dispatcher, boolean zombified)
private static PiglinEntityModel<MobEntity> getPiglinModel(boolean zombified)
public Identifier getTexture(MobEntity mobEntity)
getTexture
in interface FeatureRendererContext<MobEntity,PiglinEntityModel<MobEntity>>
getTexture
in class BipedEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>
protected boolean isShaking(MobEntity mobEntity)
LivingEntityRenderer
isShaking
in class LivingEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>