net.minecraft.world.level

public final class NaturalSpawner

bsd
net.minecraft.world.level.NaturalSpawner
net.minecraft.class_1948
net.minecraft.world.SpawnHelper
net.minecraft.world.spawner.WorldEntitySpawner
net.minecraft.server.v1_16_R2.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<apx> arg1, bsd$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, cft 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, cge arg1, bsd$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 shouldSpawnAnimals)
func_234979_a_(ServerWorld arg0, Chunk arg1, WorldEntitySpawner$EntityDensityManager arg2, boolean arg3, boolean arg4, boolean arg5)
public static void
a(aql arg0, aag arg1, cge arg2, bsd$c arg3, bsd$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(aql arg0, aag arg1, cft arg2, fx arg3, bsd$c arg4, bsd$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, cft 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, aql arg1, bsk arg2, cfv arg3, btd$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, aqb<?> 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, aqk 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, bsk arg1, cfv arg2, aql 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, bsk arg1, cfv arg2, aql arg3, btd$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 arg0, StructureAccessor arg1, ChunkGenerator arg2, SpawnGroup arg3, SpawnSettings$SpawnEntry arg4, BlockPos arg5)
func_234976_a_(ServerWorld arg0, StructureManager arg1, ChunkGenerator arg2, EntityClassification arg3, MobSpawnInfo$Spawners arg4, BlockPos arg5)
private static List<MobSpawnSettings$SpawnerData>
a(aag arg0, bsk arg1, cfv arg2, aql arg3, fx arg4, bss 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(bru arg0, cge 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(bqz arg0, fx arg1, cee arg2, cuu arg3, aqb<?> 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<?> arg4)
func_234968_a_(IBlockReader arg0, BlockPos arg1, BlockState arg2, FluidState arg3, EntityType<?> arg4)
public static boolean
a(ara$c arg0, brw arg1, fx arg2, aqb<?> 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(bsh arg0, bss 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(brw arg0, aqb<?> 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)