net.minecraft.world.entity.monster

public class Zombie

extends Monster

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting, Enemy

cdi
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 UUID
b
SPEED_MODIFIER_BABY_UUID
field_7429
BABY_SPEED_ID
f_34259_
private static final AttributeModifier
c
SPEED_MODIFIER_BABY
field_7430
BABY_SPEED_BONUS
f_34267_
private static final EntityDataAccessor<Boolean>
d
DATA_BABY_ID
field_7434
BABY
f_34268_
private static final EntityDataAccessor<Integer>
bX
DATA_SPECIAL_TYPE_ID
field_7427
ZOMBIE_TYPE
f_34260_
private static final EntityDataAccessor<Boolean>
bY
DATA_DROWNED_CONVERSION_ID
field_7425
CONVERTING_IN_WATER
f_34261_
public static final float
e
ZOMBIE_LEADER_CHANCE
field_30519
field_30519
f_149884_
public static final int
bT
REINFORCEMENT_ATTEMPTS
field_30515
field_30515
f_149880_
public static final int
bU
REINFORCEMENT_RANGE_MAX
field_30516
field_30516
f_149881_
public static final int
bV
REINFORCEMENT_RANGE_MIN
field_30517
field_30517
f_149882_
protected static final float
bW
BABY_EYE_HEIGHT_ADJUSTMENT
field_41028
field_41028
f_256825_
private static final float
bZ
BREAK_DOOR_CHANCE
field_30518
field_30518
f_149883_
private static final Predicate<Difficulty>
ca
DOOR_BREAKING_PREDICATE
field_19015
DOOR_BREAK_DIFFICULTY_CHECKER
f_34262_
private final BreakDoorGoal
cb
breakDoorGoal
field_7433
breakDoorsGoal
f_34263_
private boolean
cc
canBreakDoors
field_7432
canBreakDoors
f_34264_
private int
cd
inWaterTime
field_7426
inWaterTime
f_34265_
private int
ce
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
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
protected void
u()
addBehaviourGoals()
method_7208()
initCustomGoals()
m_6878_()
public static AttributeSupplier$Builder
gi()
createAttributes()
method_26940()
createZombieAttributes()
m_34328_()
protected void
c_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public boolean
gl()
isUnderWaterConverting()
method_7206()
isConvertingInWater()
m_34329_()
public boolean
gm()
canBreakDoors()
method_7211()
canBreakDoors()
m_34330_()
public void
x(boolean arg0)
setCanBreakDoors(boolean arg0)
method_7201(boolean arg0)
setCanBreakDoors(boolean canBreakDoors)
m_34336_(boolean arg0)
protected boolean
w()
supportsBreakDoorGoal()
method_7212()
shouldBreakDoors()
m_7586_()
public boolean
o_()
isBaby()
method_6109()
isBaby()
m_6162_()
public int
ee()
getExperienceReward()
method_6110()
getXpToDrop()
m_213860_()
public void
a(boolean arg0)
setBaby(boolean arg0)
method_7217(boolean arg0)
setBaby(boolean arg0)
m_6863_(boolean arg0)
public void
a(agm<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
protected boolean
gf()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public void
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
private void
b(int arg0)
startUnderWaterConversion(int arg0)
method_7213(int arg0)
setTicksUntilWaterConversion(int ticksUntilWaterConversion)
m_34278_(int arg0)
protected void
gh()
doUnderWaterConversion()
method_7218()
convertInWater()
m_7595_()
protected void
b(blz<? extends cdi> 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)
protected boolean
ae_()
isSunSensitive()
method_7216()
burnsInDaylight()
m_5884_()
public boolean
a(bkt arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_34289_, float arg1)
public boolean
C(blv arg0)
doHurtTarget(Entity arg0)
method_6121(class_1297 arg0)
tryAttack(Entity arg0)
m_7327_(C_507_ arg0)
protected SoundEvent
y()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bkt arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
A()
getStepSound()
method_7207()
getStepSound()
m_7660_()
protected void
b(hx arg0, djh 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 MobType
eS()
getMobType()
method_6046()
getGroup()
m_6336_()
protected void
a(auv arg0, bjz 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(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public boolean
a(and arg0, bml 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)
protected float
b(bmx arg0, blw arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_34314_, C_510_ arg1)
public boolean
j(cmy arg0)
canHoldItem(ItemStack arg0)
method_5939(class_1799 arg0)
canPickupItem(ItemStack arg0)
m_7252_(C_1391_ arg0)
public boolean
k(cmy arg0)
wantsToPickUp(ItemStack arg0)
method_20820(class_1799 arg0)
canGather(ItemStack arg0)
m_7243_(C_1391_ arg0)
public SpawnGroupData
a(cue arg0, bjz arg1, bmp arg2, bne arg3, sn arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_34298_, C_469_ p_34299_, C_529_ p_34300_, C_542_ p_34301_, C_4917_ arg4)
public static boolean
a(auv arg0)
getSpawnAsBabyOdds(RandomSource arg0)
method_29936(class_5819 arg0)
shouldBeBaby(Random random)
m_219162_(C_212974_ p_219163_)
protected void
E(float arg0)
handleAttributes(float arg0)
method_7205(float arg0)
applyAttributeModifiers(float chanceMultiplier)
m_34339_(float arg0)
protected void
gn()
randomizeReinforcementsChance()
method_6001()
initAttributes()
m_7572_()
protected org.joml.Vector3f
a(blv arg0, blw 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_298020_, C_510_ p_298000_, float arg2)
protected float
l(blv arg0)
ridingOffset(Entity arg0)
method_52537(class_1297 arg0)
getUnscaledRidingOffset(Entity arg0)
m_292595_(C_507_ arg0)
protected void
a(bkt arg0, int arg1, boolean arg2)
dropCustomDeathLoot(DamageSource arg0, int arg1, boolean arg2)
method_6099(class_1282 arg0, int arg1, boolean arg2)
dropEquipment(DamageSource arg0, int arg1, boolean arg2)
m_7472_(C_489_ p_34292_, int p_34293_, boolean arg2)
protected ItemStack
ge()
getSkull()
method_7215()
getSkull()
m_5728_()