Uses of Class
net.minecraft.world.biome.MobSpawnInfo.Spawners
-
-
Uses of MobSpawnInfo.Spawners in net.minecraft.world.biome
Fields in net.minecraft.world.biome with type parameters of type MobSpawnInfo.Spawners Modifier and Type Field Description static com.mojang.serialization.Codec<MobSpawnInfo.Spawners>
MobSpawnInfo.Spawners. CODEC
protected java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
MobSpawnInfo.Builder. spawners
private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
MobSpawnInfo. spawners
Methods in net.minecraft.world.biome that return types with arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
MobSpawnInfo. getMobs(EntityClassification p_242559_1_)
Methods in net.minecraft.world.biome with parameters of type MobSpawnInfo.Spawners Modifier and Type Method Description MobSpawnInfo.Builder
MobSpawnInfo.Builder. addSpawn(EntityClassification p_242575_1_, MobSpawnInfo.Spawners p_242575_2_)
Constructor parameters in net.minecraft.world.biome with type arguments of type MobSpawnInfo.Spawners Constructor Description MobSpawnInfo(float p_i241946_1_, java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>> p_i241946_2_, java.util.Map<EntityType<?>,MobSpawnInfo.SpawnCosts> p_i241946_3_, boolean p_i241946_4_)
-
Uses of MobSpawnInfo.Spawners in net.minecraft.world.gen
Methods in net.minecraft.world.gen that return types with arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
ChunkGenerator. getMobsAt(Biome p_230353_1_, StructureManager p_230353_2_, EntityClassification p_230353_3_, BlockPos p_230353_4_)
java.util.List<MobSpawnInfo.Spawners>
NoiseChunkGenerator. getMobsAt(Biome p_230353_1_, StructureManager p_230353_2_, EntityClassification p_230353_3_, BlockPos p_230353_4_)
-
Uses of MobSpawnInfo.Spawners in net.minecraft.world.gen.feature.structure
Fields in net.minecraft.world.gen.feature.structure with type parameters of type MobSpawnInfo.Spawners Modifier and Type Field Description private static java.util.List<MobSpawnInfo.Spawners>
FortressStructure. FORTRESS_ENEMIES
private static java.util.List<MobSpawnInfo.Spawners>
OceanMonumentStructure. MONUMENT_ENEMIES
private static java.util.List<MobSpawnInfo.Spawners>
PillagerOutpostStructure. OUTPOST_ENEMIES
private static java.util.List<MobSpawnInfo.Spawners>
SwampHutStructure. SWAMPHUT_ANIMALS
private static java.util.List<MobSpawnInfo.Spawners>
SwampHutStructure. SWAMPHUT_ENEMIES
Methods in net.minecraft.world.gen.feature.structure that return types with arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
SwampHutStructure. getDefaultCreatureSpawnList()
java.util.List<MobSpawnInfo.Spawners>
FortressStructure. getDefaultSpawnList()
java.util.List<MobSpawnInfo.Spawners>
OceanMonumentStructure. getDefaultSpawnList()
java.util.List<MobSpawnInfo.Spawners>
PillagerOutpostStructure. getDefaultSpawnList()
java.util.List<MobSpawnInfo.Spawners>
SwampHutStructure. getDefaultSpawnList()
java.util.List<MobSpawnInfo.Spawners>
Structure. getSpawnList(EntityClassification classification)
java.util.List<MobSpawnInfo.Spawners>
Structure. getSpecialAnimals()
java.util.List<MobSpawnInfo.Spawners>
Structure. getSpecialEnemies()
-
Uses of MobSpawnInfo.Spawners in net.minecraft.world.spawner
Methods in net.minecraft.world.spawner that return MobSpawnInfo.Spawners Modifier and Type Method Description private static MobSpawnInfo.Spawners
WorldEntitySpawner. getRandomSpawnMobAt(ServerWorld p_234977_0_, StructureManager p_234977_1_, ChunkGenerator p_234977_2_, EntityClassification p_234977_3_, java.util.Random p_234977_4_, BlockPos p_234977_5_)
Methods in net.minecraft.world.spawner that return types with arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description private static java.util.List<MobSpawnInfo.Spawners>
WorldEntitySpawner. mobsAt(ServerWorld p_241463_0_, StructureManager p_241463_1_, ChunkGenerator p_241463_2_, EntityClassification p_241463_3_, BlockPos p_241463_4_, Biome p_241463_5_)
Methods in net.minecraft.world.spawner with parameters of type MobSpawnInfo.Spawners Modifier and Type Method Description private static boolean
WorldEntitySpawner. canSpawnMobAt(ServerWorld p_234976_0_, StructureManager p_234976_1_, ChunkGenerator p_234976_2_, EntityClassification p_234976_3_, MobSpawnInfo.Spawners p_234976_4_, BlockPos p_234976_5_)
private static boolean
WorldEntitySpawner. isValidSpawnPostitionForType(ServerWorld p_234975_0_, EntityClassification p_234975_1_, StructureManager p_234975_2_, ChunkGenerator p_234975_3_, MobSpawnInfo.Spawners p_234975_4_, BlockPos.Mutable p_234975_5_, double p_234975_6_)
-
Uses of MobSpawnInfo.Spawners in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return types with arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description default java.util.List<MobSpawnInfo.Spawners>
IForgeStructure. getDefaultCreatureSpawnList()
Gets the default list ofEntityClassification.CREATURE
spawns for this structure.default java.util.List<MobSpawnInfo.Spawners>
IForgeStructure. getDefaultSpawnList()
Gets the default list ofEntityClassification.MONSTER
spawns for this structure.java.util.List<MobSpawnInfo.Spawners>
IForgeStructure. getSpawnList(EntityClassification classification)
Helper method to get the list of entity spawns for this structure for the given classification. -
Uses of MobSpawnInfo.Spawners in net.minecraftforge.common.world
Fields in net.minecraftforge.common.world with type parameters of type MobSpawnInfo.Spawners Modifier and Type Field Description private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnManager.StructureSpawnInfo. spawns
Methods in net.minecraftforge.common.world that return types with arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description java.util.List<MobSpawnInfo.Spawners>
MobSpawnInfoBuilder. getSpawner(EntityClassification type)
static java.util.List<MobSpawnInfo.Spawners>
StructureSpawnManager. getSpawnList(Structure<?> structure, EntityClassification classification)
Gets the entity spawn lists for entities of a given classification for a given structure.static java.util.List<MobSpawnInfo.Spawners>
StructureSpawnManager. getStructureSpawns(StructureManager structureManager, EntityClassification classification, BlockPos pos)
Looks up if a given position is within a structure and returns any entity spawns that structure has for the given classification, or null if none are found.Constructor parameters in net.minecraftforge.common.world with type arguments of type MobSpawnInfo.Spawners Constructor Description StructureSpawnInfo(java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>> spawns, boolean insideOnly)
-
Uses of MobSpawnInfo.Spawners in net.minecraftforge.event
Methods in net.minecraftforge.event that return types with arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description static java.util.List<MobSpawnInfo.Spawners>
ForgeEventFactory. getPotentialSpawns(IWorld world, EntityClassification type, BlockPos pos, java.util.List<MobSpawnInfo.Spawners> oldList)
Method parameters in net.minecraftforge.event with type arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description static java.util.List<MobSpawnInfo.Spawners>
ForgeEventFactory. getPotentialSpawns(IWorld world, EntityClassification type, BlockPos pos, java.util.List<MobSpawnInfo.Spawners> oldList)
-
Uses of MobSpawnInfo.Spawners in net.minecraftforge.event.world
Fields in net.minecraftforge.event.world with type parameters of type MobSpawnInfo.Spawners Modifier and Type Field Description private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnListGatherEvent. entitySpawns
private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnListGatherEvent. entitySpawnsUnmodifiable
private java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnListGatherEvent. entitySpawnsUnmodifiableLists
private java.util.List<MobSpawnInfo.Spawners>
WorldEvent.PotentialSpawns. list
Methods in net.minecraftforge.event.world that return types with arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description java.util.Map<EntityClassification,java.util.List<MobSpawnInfo.Spawners>>
StructureSpawnListGatherEvent. getEntitySpawns()
Gets an unmodifiable view of the map of spawns based on entity classification that is used to fill in the various spawn lists for the structure.java.util.List<MobSpawnInfo.Spawners>
StructureSpawnListGatherEvent. getEntitySpawns(EntityClassification classification)
Gets an unmodifiable view of the the list representing the entity spawns for the given classification.java.util.List<MobSpawnInfo.Spawners>
WorldEvent.PotentialSpawns. getList()
private java.util.List<MobSpawnInfo.Spawners>
StructureSpawnListGatherEvent. getOrCreateEntitySpawns(EntityClassification classification)
Gets the internal spawn list for a given entity classification, or adds one if needed.Methods in net.minecraftforge.event.world with parameters of type MobSpawnInfo.Spawners Modifier and Type Method Description void
StructureSpawnListGatherEvent. addEntitySpawn(EntityClassification classification, MobSpawnInfo.Spawners spawner)
Adds a spawn to the list of spawns for the given classification.void
StructureSpawnListGatherEvent. removeEntitySpawn(EntityClassification classification, MobSpawnInfo.Spawners spawner)
Removes a spawn from the list of spawns for the given classification.Method parameters in net.minecraftforge.event.world with type arguments of type MobSpawnInfo.Spawners Modifier and Type Method Description void
StructureSpawnListGatherEvent. addEntitySpawns(EntityClassification classification, java.util.List<MobSpawnInfo.Spawners> spawners)
Adds spawns to the list of spawns for the given classification.Constructor parameters in net.minecraftforge.event.world with type arguments of type MobSpawnInfo.Spawners Constructor Description PotentialSpawns(IWorld world, EntityClassification type, BlockPos pos, java.util.List<MobSpawnInfo.Spawners> oldList)
-