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

cmu
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
cb
SPEED_MODIFIER_ATTACKING_ID
field_7311
ATTACKING_SPEED_MODIFIER_ID
private static final AttributeModifier
cc
SPEED_MODIFIER_ATTACKING
field_7307
ATTACKING_SPEED_BOOST
private static final UniformInt
cd
FIRST_ANGER_SOUND_DELAY
field_25382
ANGRY_SOUND_DELAY_RANGE
private int
ce
playFirstAngerSoundIn
field_7308
angrySoundDelay
private static final UniformInt
cf
PERSISTENT_ANGER_TIME
field_25379
ANGER_TIME_RANGE
private int
cg
remainingPersistentAngerTime
field_25380
angerTime
private UUID
ch
persistentAngerTarget
field_25381
angryAt
private static final int
ci
ALERT_RANGE_Y
field_30524
field_30524
private static final UniformInt
cj
ALERT_INTERVAL
field_25609
ANGER_PASSING_COOLDOWN_RANGE
private int
ck
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
gB()
createAttributes()
method_26941()
createZombifiedPiglinAttributes()
public EntityDimensions
e(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
protected boolean
gt()
convertsInWater()
method_7209()
canConvertInWater()
protected void
a(ard arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
private void
gC()
maybePlayFirstAngerSound()
method_30080()
tickAngrySound()
private void
gD()
maybeAlertOthers()
method_29941()
tickAngerPassing()
private void
gE()
alertOthers()
method_29942()
angerNearbyZombifiedPiglins()
private void
gF()
playAngerSound()
method_29533()
playAngrySound()
public void
h(bvi arg0)
setTarget(LivingEntity arg0)
method_5980(class_1309 arg0)
setTarget(LivingEntity arg0)
public void
c()
startPersistentAngerTimer()
method_29509()
chooseRandomAngerTime()
public static boolean
b(but<cmu> arg0, dgk arg1, bus arg2, ji arg3, azh 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(dgm arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq 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(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected void
a(azh arg0, bsj arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
protected ItemStack
gs()
getSkull()
method_7215()
getSkull()
protected void
gA()
randomizeReinforcementsChance()
method_6001()
initAttributes()
public UUID
b()
getPersistentAngerTarget()
method_29508()
getAngryAt()
public boolean
a(ard arg0, coy arg1)
isPreventingPlayerRest(ServerLevel arg0, Player arg1)
method_7076(class_3218 arg0, class_1657 arg1)
isAngryAt(ServerWorld arg0, PlayerEntity arg1)
public boolean
c(ard arg0, cwq arg1)
wantsToPickUp(ServerLevel arg0, ItemStack arg1)
method_20820(class_3218 arg0, class_1799 arg1)
canGather(ServerWorld arg0, ItemStack arg1)