Uses of Class
net.minecraft.world.biome.SpawnSettings.SpawnEntry
Package
Description
-
Uses of SpawnSettings.SpawnEntry in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final Pool
<SpawnSettings.SpawnEntry> StructureSpawns.spawns
The field for thespawns
record component.Modifier and TypeMethodDescriptionprivate static Pool
<SpawnSettings.SpawnEntry> SpawnHelper.getSpawnEntries
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) private static Optional
<SpawnSettings.SpawnEntry> SpawnHelper.pickRandomSpawnEntry
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos) StructureSpawns.spawns()
Returns the value of thespawns
record component.Modifier and TypeMethodDescriptionprivate static boolean
SpawnHelper.canSpawn
(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings.SpawnEntry spawnEntry, BlockPos.Mutable pos, double squaredDistance) private static boolean
SpawnHelper.containsSpawnEntry
(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos) ModifierConstructorDescriptionStructureSpawns
(StructureSpawns.BoundingBox boundingBox, Pool<SpawnSettings.SpawnEntry> pool) -
Uses of SpawnSettings.SpawnEntry in net.minecraft.world.biome
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SpawnSettings.SpawnEntry> SpawnSettings.SpawnEntry.CODEC
static final Pool
<SpawnSettings.SpawnEntry> SpawnSettings.EMPTY_ENTRY_POOL
private final Map
<SpawnGroup, List<SpawnSettings.SpawnEntry>> SpawnSettings.Builder.spawners
private final Map
<SpawnGroup, Pool<SpawnSettings.SpawnEntry>> SpawnSettings.spawners
Modifier and TypeMethodDescriptionSpawnSettings.Builder.spawn
(SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry) ModifierConstructorDescription(package private)
SpawnSettings
(float creatureSpawnProbability, Map<SpawnGroup, Pool<SpawnSettings.SpawnEntry>> spawners, Map<EntityType<?>, SpawnSettings.SpawnDensity> spawnCosts) -
Uses of SpawnSettings.SpawnEntry in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionChunkGenerator.getEntitySpawnList
(RegistryEntry<Biome> biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) -
Uses of SpawnSettings.SpawnEntry in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionstatic final Pool
<SpawnSettings.SpawnEntry> NetherFortressStructure.MONSTER_SPAWNS