net.minecraft.world.level

public final class NaturalSpawner

bqj
net.minecraft.world.level.NaturalSpawner
net.minecraft.class_1948
net.minecraft.world.SpawnHelper
net.minecraft.world.spawner.WorldEntitySpawner
net.minecraft.server.v1_16_R1.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<aom> arg1, bqj$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(fu arg0, cgy 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(zd arg0, chj arg1, bqj$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(apa arg0, zd arg1, chj arg2, bqj$c arg3, bqj$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(apa arg0, zd arg1, cgy arg2, fu arg3, bqj$c arg4, bqj$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(zd arg0, cgy arg1, fu$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(zd arg0, apa arg1, bqq arg2, cha arg3, bre$g arg4, fu$a arg5, double arg6)
isValidSpawnPostitionForType(ServerLevel arg0, MobCategory arg1, StructureFeatureManager arg2, ChunkGenerator arg3, Biome$SpawnerData arg4, BlockPos$MutableBlockPos arg5, double arg6)
method_24934(class_3218 arg0, class_1311 arg1, class_5138 arg2, class_2794 arg3, class_1959$class_1964 arg4, class_2338$class_2339 arg5, double arg6)
canSpawn(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Biome$SpawnEntry spawnEntry, BlockPos$Mutable pos, double squaredDistance)
func_234975_a_(ServerWorld arg0, EntityClassification arg1, StructureManager arg2, ChunkGenerator arg3, Biome$SpawnListEntry arg4, BlockPos$Mutable arg5, double arg6)
private static Mob
a(zd arg0, aoq<?> 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(zd arg0, aoz 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 Biome$SpawnerData
a(zd arg0, bqq arg1, cha arg2, apa arg3, Random arg4, fu 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(zd arg0, bqq arg1, cha arg2, apa arg3, bre$g arg4, fu arg5)
canSpawnMobAt(ServerLevel arg0, StructureFeatureManager arg1, ChunkGenerator arg2, MobCategory arg3, Biome$SpawnerData arg4, BlockPos arg5)
method_8659(class_3218 arg0, class_5138 arg1, class_2794 arg2, class_1311 arg3, class_1959$class_1964 arg4, class_2338 arg5)
containsSpawnEntry(ServerWorld arg0, StructureAccessor arg1, ChunkGenerator arg2, SpawnGroup arg3, Biome$SpawnEntry arg4, BlockPos arg5)
func_234976_a_(ServerWorld arg0, StructureManager arg1, ChunkGenerator arg2, EntityClassification arg3, Biome$SpawnListEntry arg4, BlockPos arg5)
private static List<Biome$SpawnerData>
a(zd arg0, bqq arg1, cha arg2, apa arg3, fu arg4, bre 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(bqb arg0, chj 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(bpg arg0, fu arg1, cfj arg2, cxa arg3, aoq 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(app$c arg0, bqd arg1, fu arg2, aoq<?> 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(bqc arg0, bre arg1, int arg2, int arg3, Random arg4)
spawnMobsForChunkGeneration(LevelAccessor arg0, Biome arg1, int arg2, int arg3, Random arg4)
method_8661(class_1936 arg0, class_1959 arg1, int arg2, int arg3, Random arg4)
populateEntities(WorldAccess world, Biome biome, int chunkX, int chunkZ, Random arg4)
func_77191_a(IWorld arg0, Biome arg1, int arg2, int arg3, Random arg4)
private static BlockPos
a(bqd arg0, aoq<?> 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)