@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, modeldispatcher, shadowOpacity, shadowRadius| Constructor and Description |
|---|
PiglinEntityRenderer(class_5617.class_5618 class_5618,
class_5601 class_5601,
class_5601 class_56012,
class_5601 class_56013,
boolean bool) |
| Modifier and Type | Method and Description |
|---|---|
private static PiglinEntityModel<MobEntity> |
getPiglinModel(class_5599 class_5599,
class_5601 class_5601,
boolean bool) |
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, render, shouldRenderaddFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isVisible, scale, setupTransformsgetBlockLight, getFontRenderer, getLight, getPositionOffset, method_27950, renderLabelIfPresentprivate static final Map<EntityType<?>,Identifier> field_25793
public PiglinEntityRenderer(class_5617.class_5618 class_5618, class_5601 class_5601, class_5601 class_56012, class_5601 class_56013, boolean bool)
private static PiglinEntityModel<MobEntity> getPiglinModel(class_5599 class_5599, class_5601 class_5601, boolean bool)
public Identifier getTexture(MobEntity mobEntity)
getTexture in interface FeatureRendererContext<MobEntity,PiglinEntityModel<MobEntity>>getTexture in class BipedEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>protected boolean isShaking(MobEntity mobEntity)
LivingEntityRendererisShaking in class LivingEntityRenderer<MobEntity,PiglinEntityModel<MobEntity>>