net.minecraft.world.entity.monster

public class ZombifiedPiglin

extends Zombie implements NeutralMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy, NeutralMob

bro
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
ca
FIRST_ANGER_SOUND_DELAY
field_25382
ANGRY_SOUND_DELAY_RANGE
f_34424_
private int
cb
playFirstAngerSoundIn
field_7308
angrySoundDelay
f_34417_
private static final UniformInt
cc
PERSISTENT_ANGER_TIME
field_25379
ANGER_TIME_RANGE
f_34418_
private int
cd
remainingPersistentAngerTime
field_25380
angerTime
f_34419_
private UUID
ce
persistentAngerTarget
field_25381
angryAt
f_34420_
private static final int
cf
ALERT_RANGE_Y
field_30524
field_30524
f_149890_
private static final UniformInt
cg
ALERT_INTERVAL
field_25609
ANGER_PASSING_COOLDOWN_RANGE
f_34421_
private int
ch
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
bt()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
protected void
n()
addBehaviourGoals()
method_7208()
initCustomGoals()
m_6878_()
public static AttributeSupplier$Builder
fU()
createAttributes()
method_26941()
createZombifiedPiglinAttributes()
m_34328_()
protected boolean
fL()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
protected void
T()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
private void
fV()
maybePlayFirstAngerSound()
method_30080()
tickAngrySound()
m_34471_()
private void
fW()
maybeAlertOthers()
method_29941()
tickAngerPassing()
m_34472_()
private void
fX()
alertOthers()
method_29942()
angerNearbyZombifiedPiglins()
m_34473_()
private void
fY()
playAngerSound()
method_29533()
playAngrySound()
m_34476_()
public void
h(bbf 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(bau<bro> arg0, cgb arg1, bbj arg2, gt arg3, alu 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(cgd arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj 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(azz 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(alu arg0, azk 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
fK()
getSkull()
method_7215()
getSkull()
m_5728_()
protected void
fT()
randomizeReinforcementsChance()
method_6001()
initAttributes()
m_7572_()
public UUID
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
m_6120_()
public boolean
e(btf arg0)
isPreventingPlayerRest(Player arg0)
method_7076(class_1657 arg0)
isAngryAt(PlayerEntity arg0)
m_6935_(C_1141_ arg0)
public boolean
l(caa arg0)
wantsToPickUp(ItemStack arg0)
method_20820(class_1799 arg0)
canGather(ItemStack arg0)
m_7243_(C_1391_ arg0)