net.minecraft.world.entity.monster

public class ZombifiedPiglin

extends Zombie implements NeutralMob

All mapped superinterfaces:

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

cns
net.minecraft.world.entity.monster.ZombifiedPiglin
net.minecraft.class_1590
net.minecraft.entity.mob.ZombifiedPiglinEntity
net.minecraft.world.entity.monster.EntityPigZombie

Field summary

Modifier and TypeField
private static final EntityDimensions
c
BABY_DIMENSIONS
field_47812
BABY_BASE_DIMENSIONS
private static final ResourceLocation
cc
SPEED_MODIFIER_ATTACKING_ID
field_7311
ATTACKING_SPEED_MODIFIER_ID
private static final AttributeModifier
cd
SPEED_MODIFIER_ATTACKING
field_7307
ATTACKING_SPEED_BOOST
private static final UniformInt
ce
FIRST_ANGER_SOUND_DELAY
field_25382
ANGRY_SOUND_DELAY_RANGE
private int
cf
playFirstAngerSoundIn
field_7308
angrySoundDelay
private static final UniformInt
cg
PERSISTENT_ANGER_TIME
field_25379
ANGER_TIME_RANGE
private int
ch
remainingPersistentAngerTime
field_25380
angerTime
private UUID
ci
persistentAngerTarget
field_25381
angryAt
private static final int
cj
ALERT_RANGE_Y
field_30524
field_30524
private static final UniformInt
ck
ALERT_INTERVAL
field_25609
ANGER_PASSING_COOLDOWN_RANGE
private int
cl
ticksUntilNextAlert
field_25608
angerPassingCooldown

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(UUID arg0)
setPersistentAngerTarget(UUID arg0)
method_29513(UUID arg0)
setAngryAt(UUID arg0)
protected void
p()
addBehaviourGoals()
method_7208()
initCustomGoals()
public static AttributeSupplier$Builder
gx()
createAttributes()
method_26941()
createZombifiedPiglinAttributes()
public EntityDimensions
e(bws arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
protected boolean
gp()
convertsInWater()
method_7209()
canConvertInWater()
protected void
a(ash arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
private void
gy()
maybePlayFirstAngerSound()
method_30080()
tickAngrySound()
private void
gz()
maybeAlertOthers()
method_29941()
tickAngerPassing()
private void
gA()
alertOthers()
method_29942()
angerNearbyZombifiedPiglins()
private void
gB()
playAngerSound()
method_29533()
playAngrySound()
public void
h(bwg arg0)
setTarget(LivingEntity arg0)
method_5980(class_1309 arg0)
setTarget(LivingEntity arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
public static boolean
b(bvr<cns> arg0, dhj arg1, bvq arg2, jh arg3, bam arg4)
checkZombifiedPiglinSpawnRules(EntityType<ZombifiedPiglin> arg0, LevelAccessor arg1, EntitySpawnReason 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)
public boolean
a(dhl arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
a(int arg0)
setRemainingPersistentAngerTime(int arg0)
method_29514(int arg0)
setAngerTime(int arg0)
public int
a()
getRemainingPersistentAngerTime()
method_29507()
getAngerTime()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected void
a(bam arg0, bth arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
protected ItemStack
go()
getSkull()
method_7215()
getSkull()
protected void
gw()
randomizeReinforcementsChance()
method_6001()
initAttributes()
public UUID
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
public boolean
a(ash arg0, cpx arg1)
isPreventingPlayerRest(ServerLevel arg0, Player arg1)
method_7076(class_3218 arg0, class_1657 arg1)
isAngryAt(ServerWorld arg0, PlayerEntity arg1)
public boolean
c(ash arg0, cxp arg1)
wantsToPickUp(ServerLevel arg0, ItemStack arg1)
method_20820(class_3218 arg0, class_1799 arg1)
canGather(ServerWorld arg0, ItemStack arg1)