net.minecraft.world.entity.monster

public abstract class Monster

extends PathfinderMob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

bhy
net.minecraft.world.entity.monster.Monster
net.minecraft.class_1588
net.minecraft.entity.mob.HostileEntity
net.minecraft.src.C_1027_
net.minecraft.world.entity.monster.EntityMonster

Constructor summary

ModifierConstructor
protected (EntityType<? extends Monster> p_33003_, Level arg1)

Method summary

Modifier and TypeMethod
public SoundSource
cJ()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
getSoundCategory()
public void
u_()
aiStep()
method_6007()
tickMovement()
m_8107_()
movementTick()
protected void
fA()
updateNoActionTime()
method_16827()
updateDespawnCounter()
m_7562_()
protected boolean
Q()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
protected SoundEvent
aA()
getSwimSound()
method_5737()
getSwimSound()
m_5501_()
getSoundSwim()
protected SoundEvent
aB()
getSwimSplashSound()
method_5625()
getSplashSound()
m_5509_()
getSoundSplash()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
protected SoundEvent
p(int arg0)
getFallDamageSound(int arg0)
method_6041(int arg0)
getFallSound(int arg0)
m_5896_(int arg0)
getSoundFall(int arg0)
public float
a(gg arg0, bwt arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_33014_, C_1599_ arg1)
public static boolean
a(bxe arg0, gg arg1, Random arg2)
isDarkEnoughToSpawn(ServerLevelAccessor arg0, BlockPos arg1, Random arg2)
method_20679(class_5425 arg0, class_2338 arg1, Random arg2)
isSpawnDark(ServerWorldAccess world, BlockPos pos, Random random)
m_33008_(C_1618_ p_33009_, C_4675_ p_33010_, Random p_33011_)
public static boolean
b(atk<? extends bhy> arg0, bxe arg1, aty arg2, gg arg3, Random arg4)
checkMonsterSpawnRules(EntityType<? extends Monster> arg0, ServerLevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20680(class_1299<? extends class_1588> arg0, class_5425 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawnInDark(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_33017_(C_513_<? extends C_1027_> p_33018_, C_1618_ p_33019_, C_529_ p_33020_, C_4675_ p_33021_, Random p_33022_)
public static boolean
c(atk<? extends bhy> arg0, bwr arg1, aty arg2, gg arg3, Random arg4)
checkAnyLightMonsterSpawnRules(EntityType<? extends Monster> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20681(class_1299<? extends class_1588> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawnIgnoreLightLevel(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_33023_(C_513_<? extends C_1027_> p_33024_, C_1598_ p_33025_, C_529_ p_33026_, C_4675_ p_33027_, Random p_33028_)
public static AttributeSupplier$Builder
fB()
createMonsterAttributes()
method_26918()
createHostileAttributes()
m_33035_()
protected boolean
dC()
shouldDropExperience()
method_6054()
shouldDropXp()
m_6149_()
isDropExperience()
protected boolean
dD()
shouldDropLoot()
method_27071()
shouldDropLoot()
m_6125_()
public boolean
f(bke arg0)
isPreventingPlayerRest(Player arg0)
method_7076(class_1657 arg0)
isAngryAt(PlayerEntity player)
m_6935_(C_1141_ arg0)
public ItemStack
h(bqq arg0)
getProjectile(ItemStack arg0)
method_18808(class_1799 arg0)
getArrowType(ItemStack arg0)
m_6298_(C_1391_ arg0)