net.minecraft.world.entity.monster

public class Drowned

extends Zombie implements RangedAttackMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Enemy, RangedAttackMob

byw
net.minecraft.world.entity.monster.Drowned
net.minecraft.class_1551
net.minecraft.entity.mob.DrownedEntity
net.minecraft.src.C_990_
net.minecraft.world.entity.monster.EntityDrowned

Field summary

Modifier and TypeField
public static final float
b
NAUTILUS_SHELL_CHANCE
field_30460
field_30460
f_149692_
boolean
bX
searchingForLand
field_7233
targetingUnderwater
f_32342_
protected final WaterBoundPathNavigation
c
waterNavigation
field_7234
waterNavigation
f_32340_
protected final GroundPathNavigation
d
groundNavigation
field_7232
landNavigation
f_32341_

Constructor summary

ModifierConstructor
public (EntityType<? extends Drowned> p_32345_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
s()
addBehaviourGoals()
method_7208()
initCustomGoals()
m_6878_()
public SpawnGroupData
a(cqk arg0, bgw arg1, bjk arg2, bjz arg3, qw 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_32373_, C_469_ p_32374_, C_529_ p_32375_, C_542_ p_32376_, C_4917_ arg4)
public static boolean
a(biu<byw> arg0, cqk arg1, bjk arg2, gw arg3, asc arg4)
checkDrownedSpawnRules(EntityType<Drowned> arg0, ServerLevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_20673(class_1299<class_1551> arg0, class_5425 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<DrownedEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_218955_(C_513_<C_990_> p_218956_, C_1618_ p_218957_, C_529_ p_218958_, C_4675_ p_218959_, C_212974_ p_218960_)
private static boolean
a(cpw arg0, gw arg1)
isDeepEnoughToSpawn(LevelAccessor arg0, BlockPos arg1)
method_20672(class_1936 arg0, class_2338 arg1)
isValidSpawnDepth(WorldAccess world, BlockPos pos)
m_32366_(C_1598_ p_32367_, C_4675_ p_32368_)
protected boolean
t()
supportsBreakDoorGoal()
method_7212()
shouldBreakDoors()
m_7586_()
protected SoundEvent
w()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bho arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
y()
getStepSound()
method_7207()
getStepSound()
m_7660_()
protected SoundEvent
aL()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected ItemStack
gd()
getSkull()
method_7215()
getSkull()
m_5728_()
protected void
a(asc arg0, bgw arg1)
populateDefaultEquipmentSlots(RandomSource arg0, DifficultyInstance arg1)
method_5964(class_5819 arg0, class_1266 arg1)
initEquipment(Random arg0, LocalDifficulty arg1)
m_213945_(C_212974_ p_218954_, C_469_ arg1)
protected boolean
b(cjf arg0, cjf arg1)
canReplaceCurrentItem(ItemStack arg0, ItemStack arg1)
method_5955(class_1799 arg0, class_1799 arg1)
prefersNewEquipment(ItemStack arg0, ItemStack arg1)
m_7808_(C_1391_ p_32365_, C_1391_ arg1)
protected boolean
ge()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
public boolean
a(cpy arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public boolean
j(bjg arg0)
okTarget(LivingEntity arg0)
method_7012(class_1309 arg0)
canDrownedAttackTarget(LivingEntity target)
m_32395_(C_524_ arg0)
public boolean
cy()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
boolean
gn()
wantsToSwim()
method_7018()
isTargetingUnderwater()
m_32392_()
public void
h(ehn arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public void
bd()
updateSwimming()
method_5790()
updateSwimming()
m_5844_()
public boolean
bZ()
isVisuallySwimming()
method_20232()
isInSwimmingPose()
m_6067_()
protected boolean
gf()
closeToNextPos()
method_7016()
hasFinishedCurrentPath()
m_32391_()
public void
a(bjg arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
m_6504_(C_524_ p_32357_, float arg1)
public void
w(boolean arg0)
setSearchingForLand(boolean arg0)
method_7013(boolean arg0)
setTargetingUnderwater(boolean targetingUnderwater)
m_32398_(boolean arg0)