net.minecraft.world.entity.monster

public class ZombifiedPiglin

extends Zombie implements NeutralMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy, NeutralMob

cad
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
bX
FIRST_ANGER_SOUND_DELAY
field_25382
ANGRY_SOUND_DELAY_RANGE
f_34424_
private int
bY
playFirstAngerSoundIn
field_7308
angrySoundDelay
f_34417_
private static final UniformInt
bZ
PERSISTENT_ANGER_TIME
field_25379
ANGER_TIME_RANGE
f_34418_
private int
ca
remainingPersistentAngerTime
field_25380
angerTime
f_34419_
private UUID
cb
persistentAngerTarget
field_25381
angryAt
f_34420_
private static final int
cc
ALERT_RANGE_Y
field_30524
field_30524
f_149890_
private static final UniformInt
cd
ALERT_INTERVAL
field_25609
ANGER_PASSING_COOLDOWN_RANGE
f_34421_
private int
ce
ticksUntilNextAlert
field_25608
angerPassingCooldown
f_34422_
private static final float
cf
ZOMBIFIED_PIGLIN_EYE_HEIGHT
field_41029
EYE_HEIGHT
f_256895_
private static final float
cg
ZOMBIFIED_PIGLIN_BABY_EYE_HEIGHT_ADJUSTMENT
field_41598
BABY_EYE_HEIGHT_OFFSET
f_262243_

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
s()
addBehaviourGoals()
method_7208()
initCustomGoals()
m_6878_()
public static AttributeSupplier$Builder
gn()
createAttributes()
method_26941()
createZombifiedPiglinAttributes()
m_34470_()
protected float
b(bjs arg0, bir arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_259614_, C_510_ arg1)
protected boolean
ge()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
protected void
X()
customServerAiStep()
method_5958()
mobTick()
m_8024_()
private void
go()
maybePlayFirstAngerSound()
method_30080()
tickAngrySound()
m_34471_()
private void
gp()
maybeAlertOthers()
method_29941()
tickAngerPassing()
m_34472_()
private void
gq()
alertOthers()
method_29942()
angerNearbyZombifiedPiglins()
m_34473_()
private void
gr()
playAngerSound()
method_29533()
playAngrySound()
m_34476_()
public void
h(bjg 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(biu<cad> arg0, cpw arg1, bjk arg2, gw arg3, asc 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(cpy arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public void
b(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qw 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
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected void
a(asc arg0, bgw 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
gd()
getSkull()
method_7215()
getSkull()
m_5728_()
protected void
gm()
randomizeReinforcementsChance()
method_6001()
initAttributes()
m_7572_()
public UUID
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
m_6120_()
public boolean
f(cbu arg0)
isPreventingPlayerRest(Player arg0)
method_7076(class_1657 arg0)
isAngryAt(PlayerEntity arg0)
m_6935_(C_1141_ arg0)
public boolean
k(cjf arg0)
wantsToPickUp(ItemStack arg0)
method_20820(class_1799 arg0)
canGather(ItemStack arg0)
m_7243_(C_1391_ arg0)
protected org.joml.Vector3f
a(biq arg0, bir arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_297425_, C_510_ p_300666_, float arg2)