net.minecraft.world.entity.monster

public class ZombifiedPiglin

extends Zombie implements NeutralMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Targeting, Enemy, NeutralMob

cla
net.minecraft.world.entity.monster.ZombifiedPiglin
net.minecraft.class_1590
net.minecraft.entity.mob.ZombifiedPiglinEntity
net.minecraft.src.C_1096_
net.minecraft.world.entity.monster.EntityPigZombie

Field summary

Modifier and TypeField
private static final EntityDimensions
c
BABY_DIMENSIONS
field_47812
BABY_BASE_DIMENSIONS
f_316351_
private static final UUID
d
SPEED_MODIFIER_ATTACKING_UUID
field_7311
ATTACKING_SPEED_BOOST_ID
f_34416_
private static final AttributeModifier
cb
SPEED_MODIFIER_ATTACKING
field_7307
ATTACKING_SPEED_BOOST
f_34423_
private static final UniformInt
cc
FIRST_ANGER_SOUND_DELAY
field_25382
ANGRY_SOUND_DELAY_RANGE
f_34424_
private int
cd
playFirstAngerSoundIn
field_7308
angrySoundDelay
f_34417_
private static final UniformInt
ce
PERSISTENT_ANGER_TIME
field_25379
ANGER_TIME_RANGE
f_34418_
private int
cf
remainingPersistentAngerTime
field_25380
angerTime
f_34419_
private UUID
cg
persistentAngerTarget
field_25381
angryAt
f_34420_
private static final int
ch
ALERT_RANGE_Y
field_30524
field_30524
f_149890_
private static final UniformInt
ci
ALERT_INTERVAL
field_25609
ANGER_PASSING_COOLDOWN_RANGE
f_34421_
private int
cj
ticksUntilNextAlert
field_25608
angerPassingCooldown
f_34422_

Constructor summary

ModifierConstructor
public (EntityType<? extends ZombifiedPiglin> p_34428_, Level arg1)

Method summary

Modifier and TypeMethod
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
setAngryAt(UUID arg0)
m_6925_(UUID arg0)
protected void
u()
addBehaviourGoals()
method_7208()
initCustomGoals()
m_6878_()
public static AttributeSupplier$Builder
gA()
createAttributes()
method_26941()
createZombifiedPiglinAttributes()
m_34470_()
public EntityDimensions
e(bud arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
protected boolean
gs()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
protected void
Z()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
private void
gB()
maybePlayFirstAngerSound()
method_30080()
tickAngrySound()
m_34471_()
private void
gC()
maybeAlertOthers()
method_29941()
tickAngerPassing()
m_34472_()
private void
gD()
alertOthers()
method_29942()
angerNearbyZombifiedPiglins()
m_34473_()
private void
gE()
playAngerSound()
method_29533()
playAngrySound()
m_34476_()
public void
h(btr arg0)
setTarget(LivingEntity arg0)
method_5980(class_1309 arg0)
setTarget(LivingEntity arg0)
m_6710_(C_524_ arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
m_6825_()
public static boolean
b(btc<cla> arg0, dcb arg1, btv arg2, iz arg3, azh arg4)
checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_20682(class_1299<class_1590> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_219173_(C_513_<C_1096_> p_219174_, C_1598_ p_219175_, C_529_ p_219176_, C_4675_ p_219177_, C_212974_ p_219178_)
public boolean
a(dcd arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
a(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
setAngerTime(int arg0)
m_7870_(int arg0)
public int
a()
getRemainingPersistentAngerTime()
method_29507()
getAngerTime()
m_6784_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
a(azh arg0, bqu arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
m_213945_(C_212974_ p_219172_, C_469_ arg1)
protected ItemStack
gr()
getSkull()
method_7215()
getSkull()
m_5728_()
protected void
gz()
randomizeReinforcementsChance()
method_6001()
initAttributes()
m_7572_()
public UUID
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
m_6120_()
public boolean
f(cmz arg0)
isPreventingPlayerRest(Player arg0)
method_7076(class_1657 arg0)
isAngryAt(PlayerEntity arg0)
m_6935_(C_1141_ arg0)
public boolean
k(cur arg0)
wantsToPickUp(ItemStack arg0)
method_20820(class_1799 arg0)
canGather(ItemStack arg0)
m_7243_(C_1391_ arg0)