net.minecraft.world.entity.monster

public class ZombifiedPiglin

extends Zombie implements NeutralMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, NeutralMob

bmg
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 UUID
c
SPEED_MODIFIER_ATTACKING_UUID
field_7311
ATTACKING_SPEED_BOOST_ID
f_34416_
private static final AttributeModifier
d
SPEED_MODIFIER_ATTACKING
field_7307
ATTACKING_SPEED_BOOST
f_34423_
private static final UniformInt
bZ
FIRST_ANGER_SOUND_DELAY
field_25382
ANGRY_SOUND_DELAY_RANGE
f_34424_
private int
ca
playFirstAngerSoundIn
field_7308
angrySoundDelay
f_34417_
private static final UniformInt
cb
PERSISTENT_ANGER_TIME
field_25379
ANGER_TIME_RANGE
f_34418_
private int
cc
remainingPersistentAngerTime
field_25380
angerTime
f_34419_
private UUID
cd
persistentAngerTarget
field_25381
targetUuid
f_34420_
private static final int
ce
ALERT_RANGE_Y
field_30524
field_30524
f_149890_
private static final UniformInt
cf
ALERT_INTERVAL
field_25609
ANGER_PASSING_COOLDOWN_RANGE
f_34421_
private int
cg
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)
public double
bp()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
protected void
n()
addBehaviourGoals()
method_7208()
initCustomGoals()
m_6878_()
public static AttributeSupplier$Builder
fI()
createAttributes()
method_26941()
createZombifiedPiglinAttributes()
m_34470_()
protected boolean
fz()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
protected void
R()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
private void
fJ()
maybePlayFirstAngerSound()
method_30080()
tickAngrySound()
m_34471_()
private void
fK()
maybeAlertOthers()
method_29941()
tickAngerPassing()
m_34472_()
private void
fL()
alertOthers()
method_29942()
angerNearbyZombifiedPiglins()
m_34473_()
private void
fM()
playAngerSound()
method_29533()
playAngrySound()
m_34476_()
public void
h(axh 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(awx<bmg> arg0, cae arg1, axl arg2, gh arg3, Random arg4)
checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20682(class_1299<class_1590> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<ZombifiedPiglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_34449_(C_513_<C_1096_> p_34450_, C_1598_ p_34451_, C_529_ p_34452_, C_4675_ p_34453_, Random p_34454_)
public boolean
a(cag arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(oc 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
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(awd arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
a(avo arg0)
populateDefaultEquipmentSlots(DifficultyInstance arg0)
method_5964(class_1266 arg0)
initEquipment(LocalDifficulty arg0)
m_6851_(C_469_ arg0)
protected ItemStack
fy()
getSkull()
method_7215()
getSkull()
m_5728_()
protected void
fH()
randomizeReinforcementsChance()
method_6001()
initAttributes()
m_7572_()
public UUID
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
m_6120_()
public boolean
f(bnr arg0)
isPreventingPlayerRest(Player arg0)
method_7076(class_1657 arg0)
isAngryAt(PlayerEntity arg0)
m_6935_(C_1141_ arg0)
public boolean
l(bue arg0)
wantsToPickUp(ItemStack arg0)
method_20820(class_1799 arg0)
canGather(ItemStack arg0)
m_7243_(C_1391_ arg0)