net.minecraft.world.level

public final class NaturalSpawner

bwz
net.minecraft.world.level.NaturalSpawner
net.minecraft.class_1948
net.minecraft.unmapped.C_rvfygodd
net.minecraft.world.SpawnHelper
net.minecraft.src.C_1608_
net.minecraft.world.level.SpawnerCreature

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_9292
f_gvnzbxjb
LOGGER
f_46977_
private static final int
d
MIN_SPAWN_DISTANCE
field_30974
f_wdgynncb
MIN_SPAWN_DISTANCE
f_151589_
public static final int
a
SPAWN_DISTANCE_CHUNK
field_30972
f_powvgtkn
field_30972
f_151587_
public static final int
b
SPAWN_DISTANCE_BLOCK
field_30973
f_lqtjinwh
field_30973
f_151588_
static final int
e
MAGIC_NUMBER
field_24392
f_sdhgehyh
CHUNK_AREA
f_46978_
private static final MobCategory[]
f
SPAWNING_CATEGORIES
field_24393
f_pjymyuez
SPAWNABLE_GROUPS
f_46979_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static NaturalSpawner$SpawnState
a(int arg0, Iterable<atf> arg1, bwz$b arg2)
createState(int arg0, Iterable<Entity> arg1, NaturalSpawner$ChunkGetter arg2)
method_27815(int arg0, Iterable<class_1297> arg1, class_1948$class_5260 arg2)
m_yfaiytxs(int arg0, Iterable<C_astfners> arg1, C_rvfygodd$C_oytuppdk arg2)
setupSpawn(int spawningChunkCount, Iterable<Entity> entities, SpawnHelper$ChunkSource chunkSource)
m_46984_(int p_46985_, Iterable<C_507_> p_46986_, C_1608_$C_1611_ p_46987_)
static Biome
a(gg arg0, cml arg1)
getRoughBiome(BlockPos arg0, ChunkAccess arg1)
method_27822(class_2338 arg0, class_2791 arg1)
m_fkjoxdxn(C_hynzadkk arg0, C_lwzmmmqr arg1)
getBiomeDirectly(BlockPos pos, Chunk chunk)
m_47095_(C_4675_ p_47096_, C_2116_ p_47097_)
public static void
a(abr arg0, cmw arg1, bwz$d arg2, boolean arg3, boolean arg4, boolean arg5)
spawnForChunk(ServerLevel arg0, LevelChunk arg1, NaturalSpawner$SpawnState arg2, boolean arg3, boolean arg4, boolean arg5)
method_27821(class_3218 arg0, class_2818 arg1, class_1948$class_5262 arg2, boolean arg3, boolean arg4, boolean arg5)
m_epscnpdr(C_bdwnwhiu arg0, C_hrdsvlkq arg1, C_rvfygodd$C_tsgfqxij arg2, boolean arg3, boolean arg4, boolean arg5)
spawn(ServerWorld world, WorldChunk chunk, SpawnHelper$Info info, boolean spawnAnimals, boolean spawnMonsters, boolean rareSpawn)
m_47029_(C_12_ p_47030_, C_2137_ p_47031_, C_1608_$C_1613_ p_47032_, boolean p_47033_, boolean p_47034_, boolean p_47035_)
public static void
a(atw arg0, abr arg1, cmw arg2, bwz$c arg3, bwz$a arg4)
spawnCategoryForChunk(MobCategory arg0, ServerLevel arg1, LevelChunk arg2, NaturalSpawner$SpawnPredicate arg3, NaturalSpawner$AfterSpawnCallback arg4)
method_8663(class_1311 arg0, class_3218 arg1, class_2818 arg2, class_1948$class_5261 arg3, class_1948$class_5259 arg4)
m_yzwxorjw(C_ormqdxci arg0, C_bdwnwhiu arg1, C_hrdsvlkq arg2, C_rvfygodd$C_kramscwh arg3, C_rvfygodd$C_hsbhgqkz arg4)
spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, WorldChunk chunk, SpawnHelper$Checker checker, SpawnHelper$Runner runner)
m_47045_(C_528_ p_47046_, C_12_ p_47047_, C_2137_ p_47048_, C_1608_$C_1612_ p_47049_, C_1608_$C_1610_ p_47050_)
public static void
a(atw arg0, abr arg1, gg arg2)
spawnCategoryForPosition(MobCategory arg0, ServerLevel arg1, BlockPos arg2)
method_35240(class_1311 arg0, class_3218 arg1, class_2338 arg2)
m_ryfmkwgu(C_ormqdxci arg0, C_bdwnwhiu arg1, C_hynzadkk arg2)
spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, BlockPos pos)
m_151612_(C_528_ p_151613_, C_12_ p_151614_, C_4675_ p_151615_)
public static void
a(atw arg0, abr arg1, cml arg2, gg arg3, bwz$c arg4, bwz$a arg5)
spawnCategoryForPosition(MobCategory arg0, ServerLevel arg1, ChunkAccess arg2, BlockPos arg3, NaturalSpawner$SpawnPredicate arg4, NaturalSpawner$AfterSpawnCallback arg5)
method_24930(class_1311 arg0, class_3218 arg1, class_2791 arg2, class_2338 arg3, class_1948$class_5261 arg4, class_1948$class_5259 arg5)
m_zepoyajj(C_ormqdxci arg0, C_bdwnwhiu arg1, C_lwzmmmqr arg2, C_hynzadkk arg3, C_rvfygodd$C_kramscwh arg4, C_rvfygodd$C_hsbhgqkz arg5)
spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper$Checker checker, SpawnHelper$Runner runner)
m_47038_(C_528_ p_47039_, C_12_ p_47040_, C_2116_ p_47041_, C_4675_ p_47042_, C_1608_$C_1612_ p_47043_, C_1608_$C_1610_ p_47044_)
private static boolean
a(abr arg0, cml arg1, gg$a arg2, double arg3)
isRightDistanceToPlayerAndSpawnPoint(ServerLevel arg0, ChunkAccess arg1, BlockPos$MutableBlockPos arg2, double arg3)
method_24933(class_3218 arg0, class_2791 arg1, class_2338$class_2339 arg2, double arg3)
m_mlrfbtyw(C_bdwnwhiu arg0, C_lwzmmmqr arg1, C_hynzadkk$C_egqitdjk arg2, double arg3)
isAcceptableSpawnPosition(ServerWorld world, Chunk chunk, BlockPos$Mutable pos, double squaredDistance)
m_47024_(C_12_ p_47025_, C_2116_ p_47026_, C_4675_$C_4681_ p_47027_, double p_47028_)
private static boolean
a(abr arg0, atw arg1, bxg arg2, cmn arg3, bxz$c arg4, gg$a arg5, double arg6)
isValidSpawnPostitionForType(ServerLevel arg0, MobCategory arg1, StructureFeatureManager arg2, ChunkGenerator arg3, MobSpawnSettings$SpawnerData arg4, BlockPos$MutableBlockPos arg5, double arg6)
method_24934(class_3218 arg0, class_1311 arg1, class_5138 arg2, class_2794 arg3, class_5483$class_1964 arg4, class_2338$class_2339 arg5, double arg6)
m_rrltctub(C_bdwnwhiu arg0, C_ormqdxci arg1, C_iijvezpz arg2, C_kgfalbim arg3, C_ypgfhxmz$C_jmaqgdih arg4, C_hynzadkk$C_egqitdjk arg5, double arg6)
canSpawn(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings$SpawnEntry spawnEntry, BlockPos$Mutable pos, double squaredDistance)
m_46995_(C_12_ p_46996_, C_528_ p_46997_, C_1621_ p_46998_, C_2118_ p_46999_, C_1660_$C_1664_ p_47000_, C_4675_$C_4681_ p_47001_, double p_47002_)
private static Mob
a(abr arg0, atj<?> arg1)
getMobForSpawn(ServerLevel arg0, EntityType<?> arg1)
method_24931(class_3218 arg0, class_1299<?> arg1)
m_wqzehrkl(C_bdwnwhiu arg0, C_ogavsvbr<?> arg1)
createMob(ServerWorld world, EntityType<?> type)
m_46988_(C_12_ p_46989_, C_513_<?> p_46990_)
private static boolean
a(abr arg0, atv arg1, double arg2)
isValidPositionForMob(ServerLevel arg0, Mob arg1, double arg2)
method_24932(class_3218 arg0, class_1308 arg1, double arg2)
m_ygdxyyxs(C_bdwnwhiu arg0, C_dxkfswlz arg1, double arg2)
isValidSpawn(ServerWorld world, MobEntity entity, double squaredDistance)
m_46991_(C_12_ p_46992_, C_526_ p_46993_, double p_46994_)
private static Optional<MobSpawnSettings$SpawnerData>
a(abr arg0, bxg arg1, cmn arg2, atw arg3, Random arg4, gg arg5)
getRandomSpawnMobAt(ServerLevel arg0, StructureFeatureManager arg1, ChunkGenerator arg2, MobCategory arg3, Random arg4, BlockPos arg5)
method_8664(class_3218 arg0, class_5138 arg1, class_2794 arg2, class_1311 arg3, Random arg4, class_2338 arg5)
m_qxfjfphb(C_bdwnwhiu arg0, C_iijvezpz arg1, C_kgfalbim arg2, C_ormqdxci arg3, Random arg4, C_hynzadkk arg5)
pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos)
m_151598_(C_12_ p_151599_, C_1621_ p_151600_, C_2118_ p_151601_, C_528_ p_151602_, Random p_151603_, C_4675_ p_151604_)
private static boolean
a(abr arg0, bxg arg1, cmn arg2, atw arg3, bxz$c arg4, gg arg5)
canSpawnMobAt(ServerLevel arg0, StructureFeatureManager arg1, ChunkGenerator arg2, MobCategory arg3, MobSpawnSettings$SpawnerData arg4, BlockPos arg5)
method_8659(class_3218 arg0, class_5138 arg1, class_2794 arg2, class_1311 arg3, class_5483$class_1964 arg4, class_2338 arg5)
m_vwkuxtrc(C_bdwnwhiu arg0, C_iijvezpz arg1, C_kgfalbim arg2, C_ormqdxci arg3, C_ypgfhxmz$C_jmaqgdih arg4, C_hynzadkk arg5)
containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings$SpawnEntry spawnEntry, BlockPos pos)
m_47003_(C_12_ p_47004_, C_1621_ p_47005_, C_2118_ p_47006_, C_528_ p_47007_, C_1660_$C_1664_ p_47008_, C_4675_ p_47009_)
private static WeightedRandomList<MobSpawnSettings$SpawnerData>
a(abr arg0, bxg arg1, cmn arg2, atw arg3, gg arg4, bxo arg5)
mobsAt(ServerLevel arg0, StructureFeatureManager arg1, ChunkGenerator arg2, MobCategory arg3, BlockPos arg4, Biome arg5)
method_29950(class_3218 arg0, class_5138 arg1, class_2794 arg2, class_1311 arg3, class_2338 arg4, class_1959 arg5)
m_eswximwy(C_bdwnwhiu arg0, C_iijvezpz arg1, C_kgfalbim arg2, C_ormqdxci arg3, C_hynzadkk arg4, C_orlkpefs arg5)
getSpawnEntries(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, Biome biome)
m_151591_(C_12_ p_151592_, C_1621_ p_151593_, C_2118_ p_151594_, C_528_ p_151595_, C_4675_ p_151596_, C_1629_ p_151597_)
private static BlockPos
a(bwp arg0, cmw arg1)
getRandomPosWithin(Level arg0, LevelChunk arg1)
method_8657(class_1937 arg0, class_2818 arg1)
m_siwpcuar(C_cdctfzbn arg0, C_hrdsvlkq arg1)
getSpawnPos(World world, WorldChunk chunk)
m_47062_(C_1596_ p_47063_, C_2137_ p_47064_)
getRandomPosition(World arg0, Chunk arg1)
public static boolean
a(bvt arg0, gg arg1, cks arg2, des arg3, atj<?> arg4)
isValidEmptySpawnBlock(BlockGetter arg0, BlockPos arg1, BlockState arg2, FluidState arg3, EntityType<?> arg4)
method_8662(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3, class_1299<?> arg4)
m_jksmltor(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xqketiuf arg3, C_ogavsvbr<?> arg4)
isClearForSpawn(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType)
m_47056_(C_1559_ p_47057_, C_4675_ p_47058_, C_2064_ p_47059_, C_2691_ p_47060_, C_513_<?> p_47061_)
public static boolean
a(aum$c arg0, bws arg1, gg arg2, atj<?> arg3)
isSpawnPositionOk(SpawnPlacements$Type arg0, LevelReader arg1, BlockPos arg2, EntityType<?> arg3)
method_8660(class_1317$class_1319 arg0, class_4538 arg1, class_2338 arg2, class_1299<?> arg3)
m_omwhodhg(C_bpscphvz$C_ofgnfshc arg0, C_eemzphbi arg1, C_hynzadkk arg2, C_ogavsvbr<?> arg3)
canSpawn(SpawnRestriction$Location location, WorldView world, BlockPos pos, EntityType<?> entityType)
m_47051_(C_543_$C_546_ p_47052_, C_1599_ p_47053_, C_4675_ p_47054_, C_513_<?> p_47055_)
public static void
a(bxd arg0, bxo arg1, bvu arg2, Random arg3)
spawnMobsForChunkGeneration(ServerLevelAccessor arg0, Biome arg1, ChunkPos arg2, Random arg3)
method_8661(class_5425 arg0, class_1959 arg1, class_1923 arg2, Random arg3)
m_fndueeko(C_jmnzlycd arg0, C_orlkpefs arg1, C_ynrszrtu arg2, Random arg3)
populateEntities(ServerWorldAccess world, Biome biome, ChunkPos chunkPos, Random random)
m_151616_(C_1618_ p_151617_, C_1629_ p_151618_, C_1560_ p_151619_, Random p_151620_)
private static BlockPos
a(bws arg0, atj<?> arg1, int arg2, int arg3)
getTopNonCollidingPos(LevelReader arg0, EntityType<?> arg1, int arg2, int arg3)
method_8658(class_4538 arg0, class_1299<?> arg1, int arg2, int arg3)
m_vloryneo(C_eemzphbi arg0, C_ogavsvbr<?> arg1, int arg2, int arg3)
getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z)
m_47065_(C_1599_ p_47066_, C_513_<?> p_47067_, int p_47068_, int p_47069_)