net.minecraft.world.level

public final class NaturalSpawner

bsg
net.minecraft.world.level.NaturalSpawner
net.minecraft.class_1948
net.minecraft.world.SpawnHelper
net.minecraft.world.spawner.WorldEntitySpawner
net.minecraft.server.v1_16_R3.SpawnerCreature

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_9292
LOGGER
field_209383_a
private static final int
b
MAGIC_NUMBER
field_24392
CHUNK_AREA
field_234960_b_
private static final MobCategory[]
c
SPAWNING_CATEGORIES
field_24393
SPAWNABLE_GROUPS
field_234961_c_

Method summary

Modifier and TypeMethod
public static NaturalSpawner$SpawnState
a(int arg0, Iterable<aqa> arg1, bsg$b arg2)
createState(int arg0, Iterable<Entity> arg1, NaturalSpawner$ChunkGetter arg2)
method_27815(int arg0, Iterable<class_1297> arg1, class_1948$class_5260 arg2)
setupSpawn(int spawningChunkCount, Iterable<Entity> entities, SpawnHelper$ChunkSource chunkSource)
func_234964_a_(int arg0, Iterable<Entity> arg1, WorldEntitySpawner$IInitialDensityAdder arg2)
private static Biome
b(fx arg0, cfw arg1)
getRoughBiome(BlockPos arg0, ChunkAccess arg1)
method_27822(class_2338 arg0, class_2791 arg1)
getBiomeDirectly(BlockPos pos, Chunk chunk)
func_234980_b_(BlockPos arg0, IChunk arg1)
public static void
a(aag arg0, cgh arg1, bsg$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)
spawn(ServerWorld world, WorldChunk chunk, SpawnHelper$Info info, boolean spawnAnimals, boolean spawnMonsters, boolean rareSpawn)
func_234979_a_(ServerWorld arg0, Chunk arg1, WorldEntitySpawner$EntityDensityManager arg2, boolean arg3, boolean arg4, boolean arg5)
public static void
a(aqo arg0, aag arg1, cgh arg2, bsg$c arg3, bsg$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)
spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, WorldChunk chunk, SpawnHelper$Checker checker, SpawnHelper$Runner runner)
func_234967_a_(EntityClassification arg0, ServerWorld arg1, Chunk arg2, WorldEntitySpawner$IDensityCheck arg3, WorldEntitySpawner$IOnSpawnDensityAdder arg4)
public static void
a(aqo arg0, aag arg1, cfw arg2, fx arg3, bsg$c arg4, bsg$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)
spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper$Checker checker, SpawnHelper$Runner runner)
func_234966_a_(EntityClassification arg0, ServerWorld arg1, IChunk arg2, BlockPos arg3, WorldEntitySpawner$IDensityCheck arg4, WorldEntitySpawner$IOnSpawnDensityAdder arg5)
private static boolean
a(aag arg0, cfw arg1, fx$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)
isAcceptableSpawnPosition(ServerWorld world, Chunk chunk, BlockPos$Mutable pos, double squaredDistance)
func_234978_a_(ServerWorld arg0, IChunk arg1, BlockPos$Mutable arg2, double arg3)
private static boolean
a(aag arg0, aqo arg1, bsn arg2, cfy arg3, btg$c arg4, fx$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)
canSpawn(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings$SpawnEntry spawnEntry, BlockPos$Mutable pos, double squaredDistance)
func_234975_a_(ServerWorld arg0, EntityClassification arg1, StructureManager arg2, ChunkGenerator arg3, MobSpawnInfo$Spawners arg4, BlockPos$Mutable arg5, double arg6)
private static Mob
a(aag arg0, aqe<?> arg1)
getMobForSpawn(ServerLevel arg0, EntityType<?> arg1)
method_24931(class_3218 arg0, class_1299<?> arg1)
createMob(ServerWorld world, EntityType<?> type)
func_234973_a_(ServerWorld arg0, EntityType<?> arg1)
private static boolean
a(aag arg0, aqn arg1, double arg2)
isValidPositionForMob(ServerLevel arg0, Mob arg1, double arg2)
method_24932(class_3218 arg0, class_1308 arg1, double arg2)
isValidSpawn(ServerWorld world, MobEntity entity, double squaredDistance)
func_234974_a_(ServerWorld arg0, MobEntity arg1, double arg2)
private static MobSpawnSettings$SpawnerData
a(aag arg0, bsn arg1, cfy arg2, aqo arg3, Random arg4, fx 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)
pickRandomSpawnEntry(ServerWorld arg0, StructureAccessor arg1, ChunkGenerator arg2, SpawnGroup arg3, Random arg4, BlockPos arg5)
func_234977_a_(ServerWorld arg0, StructureManager arg1, ChunkGenerator arg2, EntityClassification arg3, Random arg4, BlockPos arg5)
private static boolean
a(aag arg0, bsn arg1, cfy arg2, aqo arg3, btg$c arg4, fx 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)
containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings$SpawnEntry spawnEntry, BlockPos pos)
func_234976_a_(ServerWorld arg0, StructureManager arg1, ChunkGenerator arg2, EntityClassification arg3, MobSpawnInfo$Spawners arg4, BlockPos arg5)
private static List<MobSpawnSettings$SpawnerData>
a(aag arg0, bsn arg1, cfy arg2, aqo arg3, fx arg4, bsv 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)
method_29950(ServerWorld arg0, StructureAccessor arg1, ChunkGenerator arg2, SpawnGroup arg3, BlockPos arg4, Biome arg5)
func_241463_a_(ServerWorld arg0, StructureManager arg1, ChunkGenerator arg2, EntityClassification arg3, BlockPos arg4, Biome arg5)
private static BlockPos
a(brx arg0, cgh arg1)
getRandomPosWithin(Level arg0, LevelChunk arg1)
method_8657(class_1937 arg0, class_2818 arg1)
getSpawnPos(World world, WorldChunk chunk)
func_222262_a(World arg0, Chunk arg1)
getRandomPosition(World arg0, Chunk arg1)
public static boolean
a(brc arg0, fx arg1, ceh arg2, cux arg3, aqe<?> 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)
isClearForSpawn(BlockView blockView, BlockPos pos, BlockState state, FluidState fluidState, EntityType<?> entityType)
func_234968_a_(IBlockReader arg0, BlockPos arg1, BlockState arg2, FluidState arg3, EntityType<?> arg4)
public static boolean
a(ard$c arg0, brz arg1, fx arg2, aqe<?> 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)
canSpawn(SpawnRestriction$Location location, WorldView world, BlockPos pos, EntityType<?> entityType)
func_209382_a(EntitySpawnPlacementRegistry$PlacementType arg0, IWorldReader arg1, BlockPos arg2, EntityType<?> arg3)
public static void
a(bsk arg0, bsv arg1, int arg2, int arg3, Random arg4)
spawnMobsForChunkGeneration(ServerLevelAccessor arg0, Biome arg1, int arg2, int arg3, Random arg4)
method_8661(class_5425 arg0, class_1959 arg1, int arg2, int arg3, Random arg4)
populateEntities(ServerWorldAccess arg0, Biome biome, int chunkX, int chunkZ, Random arg4)
func_77191_a(IServerWorld arg0, Biome arg1, int arg2, int arg3, Random arg4)
private static BlockPos
a(brz arg0, aqe<?> 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)
getEntitySpawnPos(WorldView world, EntityType<?> entityType, int x, int z)
func_208498_a(IWorldReader arg0, EntityType<?> arg1, int arg2, int arg3)