net.minecraft.world.entity.monster

public class Zombie

extends Monster

All mapped superinterfaces:

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

cms
net.minecraft.world.entity.monster.Zombie
net.minecraft.class_1642
net.minecraft.entity.mob.ZombieEntity
net.minecraft.src.C_1092_
net.minecraft.world.entity.monster.EntityZombie

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
E()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
p()
addBehaviourGoals()
method_7208()
initCustomGoals()
m_6878_()
public static AttributeSupplier$Builder
gv()
createAttributes()
method_26940()
createZombieAttributes()
m_34328_()
protected void
a(akc$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
gy()
isUnderWaterConverting()
method_7206()
isConvertingInWater()
m_34329_()
public boolean
gz()
canBreakDoors()
method_7211()
canBreakDoors()
m_34330_()
public void
y(boolean arg0)
setCanBreakDoors(boolean arg0)
method_7201(boolean arg0)
setCanBreakDoors(boolean canBreakDoors)
m_34336_(boolean arg0)
public boolean
e_()
isBaby()
method_6109()
isBaby()
m_6162_()
protected int
e(ard arg0)
getBaseExperienceReward(ServerLevel arg0)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld arg0)
m_213860_(C_12_ arg0)
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public void
a(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
protected boolean
gt()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
public void
h()
tick()
method_5773()
tick()
m_8119_()
public void
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
private void
r(int arg0)
startUnderWaterConversion(int arg0)
method_7213(int arg0)
setTicksUntilWaterConversion(int ticksUntilWaterConversion)
m_34278_(int arg0)
protected void
ah_()
doUnderWaterConversion()
method_7218()
convertInWater()
m_7595_()
protected void
b(but<? extends cms> arg0)
convertToZombieType(EntityType<? extends Zombie> arg0)
method_7200(class_1299<? extends class_1642> arg0)
convertTo(EntityType<? extends ZombieEntity> entityType)
m_34310_(C_513_<? extends C_1092_> arg0)
public boolean
a(ard arg0, coj arg1)
convertVillagerToZombieVillager(ServerLevel arg0, Villager arg1)
method_63654(class_3218 arg0, class_1646 arg1)
infectVillager(ServerWorld world, VillagerEntity villager)
m_354131_(C_12_ p_360910_, C_1118_ arg1)
protected boolean
ai_()
isSunSensitive()
method_7216()
burnsInDaylight()
m_5884_()
public boolean
a(ard arg0, btc arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
m_351622_(C_12_ p_363403_, C_489_ p_367238_, float arg2)
public boolean
c(ard arg0, bum arg1)
doHurtTarget(ServerLevel arg0, Entity arg1)
method_6121(class_3218 arg0, class_1297 arg1)
tryAttack(ServerWorld arg0, Entity arg1)
m_7327_(C_12_ p_34276_, C_507_ arg1)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
t()
getStepSound()
method_7207()
getStepSound()
m_7660_()
protected void
b(ji arg0, dwy arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_34317_, C_2064_ arg1)
public EntityType<? extends Zombie>
aq()
getType()
method_5864()
getType()
m_6095_()
protected boolean
x()
canSpawnInLiquids()
method_64462()
canSpawnAsReinforcementInFluid()
m_351683_()
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)
m_213945_(C_212974_ p_219166_, C_469_ arg1)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
a(ard arg0, bvi arg1)
killedEntity(ServerLevel arg0, LivingEntity arg1)
method_5874(class_3218 arg0, class_1309 arg1)
onKilledOther(ServerWorld arg0, LivingEntity arg1)
m_214076_(C_12_ p_219161_, C_524_ arg1)
public EntityDimensions
e(bvu arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
m_31586_(C_535_ arg0)
public boolean
g(cwq arg0)
canHoldItem(ItemStack arg0)
method_5939(class_1799 arg0)
canPickupItem(ItemStack arg0)
m_7252_(C_1391_ arg0)
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)
m_7243_(C_12_ p_182400_, C_1391_ arg1)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 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)
setInWaterTime(int inWaterTime)
m_354263_(int arg0)
public void
c(int arg0)
setConversionTime(int arg0)
method_63658(int arg0)
setTicksUntilWaterConversionDirect(int ticksUntilWaterConversion)
m_353047_(int arg0)
public static boolean
a(azh arg0)
getSpawnAsBabyOdds(RandomSource arg0)
method_29936(class_5819 arg0)
shouldBeBaby(Random random)
m_219162_(C_212974_ p_219163_)
protected void
J(float arg0)
handleAttributes(float arg0)
method_7205(float arg0)
applyAttributeModifiers(float chanceMultiplier)
m_34339_(float arg0)
protected void
gA()
randomizeReinforcementsChance()
method_6001()
initAttributes()
m_7572_()
protected void
a(ard arg0, btc arg1, boolean arg2)
dropCustomDeathLoot(ServerLevel arg0, DamageSource arg1, boolean arg2)
method_6099(class_3218 arg0, class_1282 arg1, boolean arg2)
dropEquipment(ServerWorld arg0, DamageSource arg1, boolean arg2)
m_7472_(C_12_ p_34291_, C_489_ p_34293_, boolean arg2)
protected ItemStack
gs()
getSkull()
method_7215()
getSkull()
m_5728_()