net.minecraft.world.entity.monster

public class Drowned

extends Zombie implements RangedAttackMob

All mapped superinterfaces:

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

cln
net.minecraft.world.entity.monster.Drowned
net.minecraft.class_1551
net.minecraft.entity.mob.DrownedEntity
net.minecraft.world.entity.monster.EntityDrowned

Field summary

Modifier and TypeField
public static final float
a
NAUTILUS_SHELL_CHANCE
field_30460
field_30460
boolean
cb
searchingForLand
field_7233
targetingUnderwater
protected final WaterBoundPathNavigation
b
waterNavigation
field_7234
waterNavigation
protected final GroundPathNavigation
c
groundNavigation
field_7232
landNavigation

Constructor summary

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

Method summary

Modifier and TypeMethod
public static AttributeSupplier$Builder
m()
createAttributes()
method_55746()
createDrownedAttributes()
protected void
p()
addBehaviourGoals()
method_7208()
initCustomGoals()
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)
public static boolean
a(but<cln> arg0, dha arg1, bus arg2, ji arg3, azh arg4)
checkDrownedSpawnRules(EntityType<Drowned> arg0, ServerLevelAccessor arg1, EntitySpawnReason 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)
private static boolean
a(dgk arg0, ji arg1)
isDeepEnoughToSpawn(LevelAccessor arg0, BlockPos arg1)
method_20672(class_1936 arg0, class_2338 arg1)
isValidSpawnDepth(WorldAccess world, BlockPos pos)
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(btc arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected SoundEvent
t()
getStepSound()
method_7207()
getStepSound()
protected SoundEvent
aV()
getSwimSound()
method_5737()
getSwimSound()
protected boolean
x()
canSpawnInLiquids()
method_64462()
canSpawnAsReinforcementInFluid()
protected ItemStack
gs()
getSkull()
method_7215()
getSkull()
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)
protected boolean
a(cwq arg0, cwq arg1, buu arg2)
canReplaceCurrentItem(ItemStack arg0, ItemStack arg1, EquipmentSlot arg2)
method_5955(class_1799 arg0, class_1799 arg1, class_1304 arg2)
prefersNewEquipment(ItemStack arg0, ItemStack arg1, EquipmentSlot arg2)
protected boolean
gt()
convertsInWater()
method_7209()
canConvertInWater()
public boolean
a(dgm arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public boolean
j(bvi arg0)
okTarget(LivingEntity arg0)
method_7012(class_1309 arg0)
canDrownedAttackTarget(LivingEntity target)
public boolean
cJ()
isPushedByFluid()
method_5675()
isPushedByFluids()
boolean
gB()
wantsToSwim()
method_7018()
isTargetingUnderwater()
public void
a_(fbb arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public void
bp()
updateSwimming()
method_5790()
updateSwimming()
public boolean
cl()
isVisuallySwimming()
method_20232()
isInSwimmingPose()
protected boolean
gu()
closeToNextPos()
method_7016()
hasFinishedCurrentPath()
public void
a(bvi arg0, float arg1)
performRangedAttack(LivingEntity arg0, float arg1)
method_7105(class_1309 arg0, float arg1)
shootAt(LivingEntity arg0, float arg1)
public TagKey<Item>
Z()
getPreferredWeaponType()
method_65345()
getPreferredWeapons()
public void
x(boolean arg0)
setSearchingForLand(boolean arg0)
method_7013(boolean arg0)
setTargetingUnderwater(boolean targetingUnderwater)