net.minecraft.world.entity.monster

public abstract class Monster

extends PathfinderMob implements Enemy

All mapped superinterfaces:

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

cmx
net.minecraft.world.entity.monster.Monster
net.minecraft.class_1588
net.minecraft.entity.mob.HostileEntity
net.minecraft.world.entity.monster.EntityMonster

Constructor summary

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

Method summary

Modifier and TypeMethod
public SoundSource
dn()
getSoundSource()
method_5634()
getSoundCategory()
public void
d_()
aiStep()
method_6007()
tickMovement()
protected void
gs()
updateNoActionTime()
method_16827()
updateDespawnCounter()
protected boolean
X()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
protected SoundEvent
aV()
getSwimSound()
method_5737()
getSwimSound()
protected SoundEvent
aW()
getSwimSplashSound()
method_5625()
getSplashSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
public LivingEntity$Fallsounds
eM()
getFallSounds()
method_39760()
getFallSounds()
public float
a(jh arg0, dhl arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
public static boolean
a(dhz arg0, jh arg1, bam arg2)
isDarkEnoughToSpawn(ServerLevelAccessor arg0, BlockPos arg1, RandomSource arg2)
method_20679(class_5425 arg0, class_2338 arg1, class_5819 arg2)
isSpawnDark(ServerWorldAccess world, BlockPos pos, Random random)
public static boolean
b(bvr<? extends cmx> arg0, dhz arg1, bvq arg2, jh arg3, bam arg4)
checkMonsterSpawnRules(EntityType<? extends Monster> arg0, ServerLevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20680(class_1299<? extends class_1588> arg0, class_5425 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawnInDark(EntityType<? extends HostileEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
public static boolean
c(bvr<? extends cmx> arg0, dhj arg1, bvq arg2, jh arg3, bam arg4)
checkAnyLightMonsterSpawnRules(EntityType<? extends Monster> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
method_20681(class_1299<? extends class_1588> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawnIgnoreLightLevel(EntityType<? extends HostileEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
public static AttributeSupplier$Builder
gt()
createMonsterAttributes()
method_26918()
createHostileAttributes()
public boolean
en()
shouldDropExperience()
method_6054()
shouldDropXp()
protected boolean
eo()
shouldDropLoot()
method_27071()
shouldDropLoot()
public boolean
a(ash arg0, cpx arg1)
isPreventingPlayerRest(ServerLevel arg0, Player arg1)
method_7076(class_3218 arg0, class_1657 arg1)
isAngryAt(ServerWorld world, PlayerEntity player)
public ItemStack
d(cxp arg0)
getProjectile(ItemStack arg0)
method_18808(class_1799 arg0)
getProjectileType(ItemStack arg0)