net.minecraft.world.entity.monster

public class Zombie

extends Monster

All mapped superinterfaces:

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

cnp
net.minecraft.world.entity.monster.Zombie
net.minecraft.class_1642
net.minecraft.unmapped.C_hlzqkibq
net.minecraft.entity.mob.ZombieEntity
net.minecraft.entity.mob.ZombieEntity
net.minecraft.src.C_1092_
net.minecraft.world.entity.monster.EntityZoglin

Field summary

Modifier and TypeField
private static final ResourceLocation
a
SPEED_MODIFIER_BABY_ID
field_7429
f_ftlgfqrm
BABY_SPEED_MODIFIER_ID
BABY_SPEED_MODIFIER_ID
f_336940_
private static final AttributeModifier
b
SPEED_MODIFIER_BABY
field_7430
f_xkowrfdx
BABY_SPEED_BONUS
BABY_SPEED_BONUS
f_34267_
private static final ResourceLocation
c
REINFORCEMENT_CALLER_CHARGE_ID
field_52018
f_ffsrjhzo
REINFORCEMENT_CALLER_CHARGE_MODIFIER_ID
REINFORCEMENT_CALLER_CHARGE_MODIFIER_ID
f_337471_
private static final AttributeModifier
cc
ZOMBIE_REINFORCEMENT_CALLEE_CHARGE
field_52016
f_kplgseir
REINFORCEMENT_CALLEE_CHARGE_REINFORCEMENT_BONUS
REINFORCEMENT_CALLEE_CHARGE_MODIFIER
f_337397_
private static final ResourceLocation
cd
LEADER_ZOMBIE_BONUS_ID
field_52017
f_cbavnqhn
LEADER_ZOMBIE_BONUS_MODIFIER_ID
LEADER_ZOMBIE_BONUS_MODIFIER_ID
f_337184_
private static final ResourceLocation
ce
ZOMBIE_RANDOM_SPAWN_BONUS_ID
field_52193
f_yvivhgvq
ZOMBIE_RANDOM_SPAWN_BONUS_MODIFIER_ID
ZOMBIE_RANDOM_SPAWN_BONUS_MODIFIER_ID
f_336709_
private static final EntityDataAccessor<Boolean>
cf
DATA_BABY_ID
field_7434
f_dugfemzi
BABY
BABY
f_34268_
private static final EntityDataAccessor<Integer>
cg
DATA_SPECIAL_TYPE_ID
field_7427
f_pwwkwurn
ZOMBIE_TYPE
ZOMBIE_TYPE
f_34260_
private static final EntityDataAccessor<Boolean>
ch
DATA_DROWNED_CONVERSION_ID
field_7425
f_twarmjzo
CONVERTING_IN_WATER
CONVERTING_IN_WATER
f_34261_
public static final float
d
ZOMBIE_LEADER_CHANCE
field_30519
f_cgelqhxp
field_30519
ZOMBIE_LEADER_CHANCE
f_149884_
public static final int
bZ
REINFORCEMENT_ATTEMPTS
field_30515
f_tavcpedr
field_30515
REINFORCEMENT_ATTEMPTS
f_149880_
public static final int
ca
REINFORCEMENT_RANGE_MAX
field_30516
f_htmnnmvg
field_30516
REINFORCEMENT_MAX_RANGE
f_149881_
public static final int
cb
REINFORCEMENT_RANGE_MIN
field_30517
f_luzrnhym
field_30517
REINFORCEMENT_MIN_RANGE
f_149882_
private static final EntityDimensions
ci
BABY_DIMENSIONS
field_47811
f_oxqoblan
BABY_BASE_DIMENSIONS
BABY_DIMENSIONS
f_315078_
private static final float
cj
BREAK_DOOR_CHANCE
field_30518
f_bkkffcav
field_30518
CAN_BREAK_DOORS_PROBABILITY
f_149883_
private static final Predicate<Difficulty>
ck
DOOR_BREAKING_PREDICATE
field_19015
f_ubjsjkvp
DOOR_BREAK_DIFFICULTY_CHECKER
DOOR_BREAK_DIFFICULTY_CHECKER
f_34262_
private final BreakDoorGoal
cl
breakDoorGoal
field_7433
f_rzqvwqpj
breakDoorsGoal
breakDoorsGoal
f_34263_
private boolean
cm
canBreakDoors
field_7432
f_ednvlrgk
canBreakDoors
canBreakDoors
f_34264_
private int
cn
inWaterTime
field_7426
f_aqispqmf
inWaterTime
inWaterTime
f_34265_
private int
co
conversionTime
field_7424
f_upyoimqe
ticksUntilWaterConversion
ticksUntilWaterConversion
f_34266_

Constructor summary

ModifierConstructor
public (EntityType<? extends Zombie> p_34272_, Level world)
public (Level world)

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
m_itjttsuo()
initGoals()
initGoals()
m_8099_()
protected void
p()
addBehaviourGoals()
method_7208()
m_iuesbiha()
initCustomGoals()
initCustomGoals()
m_6878_()
public static AttributeSupplier$Builder
gr()
createAttributes()
method_26940()
m_pcnwswoc()
createZombieAttributes()
createAttributes()
m_34328_()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
gu()
isUnderWaterConverting()
method_7206()
m_wiihxgpu()
isConvertingInWater()
isConvertingInWater()
m_34329_()
public boolean
gv()
canBreakDoors()
method_7211()
m_zfhqmnbl()
canBreakDoors()
canBreakDoors()
m_34330_()
public void
y(boolean arg0)
setCanBreakDoors(boolean arg0)
method_7201(boolean arg0)
m_dolaqwdc(boolean arg0)
setCanBreakDoors(boolean canBreakDoors)
setCanBreakDoors(boolean canBreakDoors)
m_34336_(boolean arg0)
public boolean
e_()
isBaby()
method_6109()
m_xuxedegf()
isBaby()
isBaby()
m_6162_()
protected int
e(ash arg0)
getBaseExperienceReward(ServerLevel arg0)
method_6110(class_3218 arg0)
m_qjawpswz(C_bdwnwhiu arg0)
getXpToDrop(ServerWorld arg0)
getBaseXpDropped(ServerWorld arg0)
m_213860_(C_12_ arg0)
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
m_wuplhywr(boolean arg0)
setBaby(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
protected boolean
gp()
convertsInWater()
method_7209()
m_ihrbkgqe()
canConvertInWater()
canConvertInWater()
m_7593_()
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
m_8119_()
public void
d_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
private void
r(int arg0)
startUnderWaterConversion(int arg0)
method_7213(int arg0)
m_dcbwxskt(int arg0)
setTicksUntilWaterConversion(int ticksUntilWaterConversion)
setTicksUntilWaterConversion(int ticksUntilWaterConversion)
m_34278_(int arg0)
protected void
ai_()
doUnderWaterConversion()
method_7218()
m_ejektryu()
convertInWater()
convertInWater()
m_7595_()
protected void
b(bvq<? extends cnp> arg0)
convertToZombieType(EntityType<? extends Zombie> arg0)
method_7200(class_1299<? extends class_1642> arg0)
m_mfuuukge(C_ogavsvbr<? extends C_hlzqkibq> arg0)
convertTo(EntityType<? extends ZombieEntity> entityType)
convertTo(EntityType<? extends ZombieEntity> entityType)
m_34310_(C_513_<? extends C_1092_> arg0)
public boolean
a(ash arg0, cpi arg1)
convertVillagerToZombieVillager(ServerLevel arg0, Villager arg1)
method_63654(class_3218 arg0, class_1646 arg1)
m_cfjxvslc(C_bdwnwhiu arg0, C_pdtkdbte arg1)
infectVillager(ServerWorld world, VillagerEntity villager)
m_cfjxvslc(ServerWorld world, VillagerEntity arg1)
m_354131_(C_12_ p_360910_, C_1118_ arg1)
protected boolean
aj_()
isSunSensitive()
method_7216()
m_vtxgwfro()
burnsInDaylight()
burnsInDaylight()
m_5884_()
public boolean
a(ash arg0, btz arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
m_fuenwjjy(C_bdwnwhiu arg0, C_sbxfkpyv arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_fuenwjjy(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_363403_, C_489_ p_367238_, float arg2)
public boolean
c(ash arg0, bvj arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
m_orenzeoc(C_bdwnwhiu arg0, C_astfners arg1)
tryAttack(ServerWorld arg0, Entity arg1)
tryAttack(ServerWorld arg0, Entity arg1)
m_7327_(C_12_ p_34276_, C_507_ arg1)
protected SoundEvent
u()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
e(btz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected SoundEvent
t()
getStepSound()
method_7207()
m_eddcztmf()
getStepSound()
getStepSound()
m_7660_()
protected void
b(jh arg0, dxu arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_34317_, C_2064_ arg1)
public EntityType<? extends Zombie>
aq()
getType()
method_5864()
m_fcumyzkt()
getType()
getType()
m_6095_()
protected boolean
x()
canSpawnInLiquids()
method_64462()
m_ckckhijq()
canSpawnAsReinforcementInFluid()
m_351683_()
protected void
a(bam arg0, btg arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
m_bafwglvj(C_rlomrsco arg0, C_jiailwzt arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
initEquipment(RandomGenerator arg0, LocalDifficulty arg1)
m_213945_(C_212974_ p_219166_, C_469_ arg1)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
a(ash arg0, bwf arg1)
killedEntity(ServerLevel arg0, LivingEntity arg1)
method_5874(class_3218 arg0, class_1309 arg1)
m_jvbaawvv(C_bdwnwhiu arg0, C_usxaxydn arg1)
onKilledOther(ServerWorld arg0, LivingEntity arg1)
killedEntity(ServerWorld arg0, LivingEntity arg1)
m_214076_(C_12_ p_219161_, C_524_ arg1)
public EntityDimensions
e(bwr arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
m_qukpzlyx(C_ufdjspmk arg0)
getBaseDimensions(EntityPose arg0)
getDefaultDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
public boolean
g(cxo arg0)
canHoldItem(ItemStack arg0)
method_5939(class_1799 arg0)
m_kxilreut(C_sddaxwyk arg0)
canPickupItem(ItemStack arg0)
canPickupItem(ItemStack arg0)
m_7252_(C_1391_ arg0)
public boolean
c(ash arg0, cxo arg1)
wantsToPickUp(ServerLevel arg0, ItemStack arg1)
method_20820(class_3218 arg0, class_1799 arg1)
m_nzdowltt(C_bdwnwhiu arg0, C_sddaxwyk arg1)
canGather(ServerWorld arg0, ItemStack arg1)
canGather(ServerWorld arg0, ItemStack arg1)
m_7243_(C_12_ p_182400_, C_1391_ arg1)
public SpawnGroupData
a(dhy arg0, btg arg1, bvp arg2, bwy arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_bhyaesep arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_34298_, C_469_ p_367250_, C_345845_ p_34300_, C_542_ arg3)
public void
b(int arg0)
setInWaterTime(int arg0)
method_63656(int arg0)
m_ufmnerao(int arg0)
setInWaterTime(int inWaterTime)
m_354263_(int arg0)
public void
c(int arg0)
setConversionTime(int arg0)
method_63658(int arg0)
m_zcxforui(int arg0)
setTicksUntilWaterConversionDirect(int ticksUntilWaterConversion)
m_353047_(int arg0)
public static boolean
a(bam arg0)
getSpawnAsBabyOdds(RandomSource arg0)
method_29936(class_5819 arg0)
m_byfmkeyh(C_rlomrsco arg0)
shouldBeBaby(Random random)
shouldBeBaby(RandomGenerator random)
m_219162_(C_212974_ p_219163_)
protected void
J(float arg0)
handleAttributes(float arg0)
method_7205(float arg0)
m_vpvzzidd(float arg0)
applyAttributeModifiers(float chanceMultiplier)
applyAttributeModifiers(float chanceMultiplier)
m_34339_(float arg0)
protected void
gw()
randomizeReinforcementsChance()
method_6001()
m_tgmcedmt()
initAttributes()
initAttributes()
m_7572_()
protected void
a(ash arg0, btz arg1, boolean arg2)
dropCustomDeathLoot(ServerLevel arg0, DamageSource arg1, boolean arg2)
method_6099(class_3218 arg0, class_1282 arg1, boolean arg2)
m_sephwywk(C_bdwnwhiu arg0, C_sbxfkpyv arg1, boolean arg2)
dropEquipment(ServerWorld arg0, DamageSource arg1, boolean arg2)
dropCustomLoot(ServerWorld arg0, DamageSource arg1, boolean arg2)
m_7472_(C_12_ p_34291_, C_489_ p_34293_, boolean arg2)
protected ItemStack
go()
getSkull()
method_7215()
m_iqashtsi()
getSkull()
getSkull()
m_5728_()