net.minecraft.world.entity.monster

public class Drowned

extends Zombie implements RangedAttackMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Targeting, Enemy, RangedAttackMob

cjt
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
cb
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
public static AttributeSupplier$Builder
s()
createAttributes()
method_55746()
createDrownedAttributes()
m_320431_()
protected void
u()
addBehaviourGoals()
method_7208()
initCustomGoals()
m_6878_()
public SpawnGroupData
a(dcp arg0, bqu arg1, btv arg2, buk arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType 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_32373_, C_469_ p_32374_, C_529_ p_32375_, C_542_ arg3)
public static boolean
a(btc<cjt> arg0, dcp arg1, btv arg2, iz arg3, azh 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(dcb arg0, iz 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
y()
supportsBreakDoorGoal()
method_7212()
shouldBreakDoors()
m_7586_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brp 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
gq()
getStepSound()
method_7207()
getStepSound()
m_7660_()
protected SoundEvent
aP()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
protected ItemStack
gr()
getSkull()
method_7215()
getSkull()
m_5728_()
protected void
a(azh arg0, bqu 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(cur arg0, cur 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
gs()
convertsInWater()
method_7209()
canConvertInWater()
m_7593_()
public boolean
a(dcd arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public boolean
j(btr arg0)
okTarget(LivingEntity arg0)
method_7012(class_1309 arg0)
canDrownedAttackTarget(LivingEntity target)
m_32395_(C_524_ arg0)
public boolean
cC()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
boolean
gA()
wantsToSwim()
method_7018()
isTargetingUnderwater()
m_32392_()
public void
a(evt arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public void
bk()
updateSwimming()
method_5790()
updateSwimming()
m_5844_()
public boolean
cd()
isVisuallySwimming()
method_20232()
isInSwimmingPose()
m_6067_()
protected boolean
gt()
closeToNextPos()
method_7016()
hasFinishedCurrentPath()
m_32391_()
public void
a(btr 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)