Uses of Enum Class
net.minecraft.entity.SpawnGroup
Packages that use SpawnGroup
Package
Description
-
Uses of SpawnGroup in net.minecraft.entity
Fields in net.minecraft.entity declared as SpawnGroupModifier and TypeFieldDescriptionprivate final SpawnGroupEntityType.Builder.spawnGroupprivate final SpawnGroupEntityType.spawnGroupFields in net.minecraft.entity with type parameters of type SpawnGroupModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<SpawnGroup>SpawnGroup.CODECA codec that encodes and decodes a spawn group from and to its name string.Methods in net.minecraft.entity that return SpawnGroupModifier and TypeMethodDescriptionEntityType.getSpawnGroup()static SpawnGroupReturns the enum constant of this class with the specified name.static SpawnGroup[]SpawnGroup.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.entity with parameters of type SpawnGroupModifier and TypeMethodDescriptionstatic <T extends Entity>
EntityType.Builder<T>EntityType.Builder.create(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup) static <T extends Entity>
EntityType.Builder<T>EntityType.Builder.create(SpawnGroup spawnGroup) Constructors in net.minecraft.entity with parameters of type SpawnGroupModifierConstructorDescriptionprivateBuilder(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup) EntityType(EntityType.EntityFactory<T> factory, SpawnGroup spawnGroup, boolean saveable, boolean summonable, boolean fireImmune, boolean spawnableFarFromPlayer, ImmutableSet<Block> canSpawnInside, EntityDimensions dimensions, int maxTrackDistance, int trackTickInterval) -
Uses of SpawnGroup in net.minecraft.entity.ai.brain.task
Constructors in net.minecraft.entity.ai.brain.task with parameters of type SpawnGroup -
Uses of SpawnGroup in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type SpawnGroupModifier and TypeMethodDescriptionprivate static intDebugMobSpawningCommand.execute(ServerCommandSource source, SpawnGroup group, BlockPos pos) -
Uses of SpawnGroup in net.minecraft.world
Fields in net.minecraft.world declared as SpawnGroupFields in net.minecraft.world with type parameters of type SpawnGroupModifier and TypeFieldDescriptionprivate final Object2IntOpenHashMap<SpawnGroup>SpawnHelper.Info.groupToCountprivate final Object2IntMap<SpawnGroup>SpawnHelper.Info.groupToCountViewprivate final Object2IntMap<SpawnGroup>SpawnDensityCapper.DensityCap.spawnGroupsToDensityMethods in net.minecraft.world that return types with arguments of type SpawnGroupMethods in net.minecraft.world with parameters of type SpawnGroupModifier and TypeMethodDescriptionbooleanSpawnDensityCapper.canSpawn(SpawnGroup spawnGroup, ChunkPos chunkPos) booleanSpawnDensityCapper.DensityCap.canSpawn(SpawnGroup spawnGroup) private static booleanSpawnHelper.canSpawn(ServerWorld world, SpawnGroup group, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnSettings.SpawnEntry spawnEntry, BlockPos.Mutable pos, double squaredDistance) private static booleanSpawnHelper.containsSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry, BlockPos pos) private static Pool<SpawnSettings.SpawnEntry>SpawnHelper.getSpawnEntries(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable RegistryEntry<Biome> biomeEntry) voidSpawnDensityCapper.DensityCap.increaseDensity(SpawnGroup spawnGroup) voidSpawnDensityCapper.increaseDensity(ChunkPos chunkPos, SpawnGroup spawnGroup) (package private) booleanSpawnHelper.Info.isBelowCap(SpawnGroup group, ChunkPos chunkPos) private static Optional<SpawnSettings.SpawnEntry>SpawnHelper.pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos) static booleanSpawnHelper.shouldUseNetherFortressSpawns(BlockPos pos, ServerWorld world, SpawnGroup spawnGroup, StructureAccessor structureAccessor) static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, BlockPos pos) static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper.Checker checker, SpawnHelper.Runner runner) static voidSpawnHelper.spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, WorldChunk chunk, SpawnHelper.Checker checker, SpawnHelper.Runner runner) Constructor parameters in net.minecraft.world with type arguments of type SpawnGroupModifierConstructorDescription(package private)Info(int spawningChunkCount, Object2IntOpenHashMap<SpawnGroup> groupToCount, GravityField densityField, SpawnDensityCapper densityCapper) -
Uses of SpawnGroup in net.minecraft.world.biome
Fields in net.minecraft.world.biome with type parameters of type SpawnGroupModifier and TypeFieldDescriptionprivate final Map<SpawnGroup,List<SpawnSettings.SpawnEntry>> SpawnSettings.Builder.spawnersprivate final Map<SpawnGroup,Pool<SpawnSettings.SpawnEntry>> SpawnSettings.spawnersMethods in net.minecraft.world.biome with parameters of type SpawnGroupModifier and TypeMethodDescriptionSpawnSettings.getSpawnEntries(SpawnGroup spawnGroup) SpawnSettings.Builder.spawn(SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry) Constructor parameters in net.minecraft.world.biome with type arguments of type SpawnGroupModifierConstructorDescription(package private)SpawnSettings(float creatureSpawnProbability, Map<SpawnGroup, Pool<SpawnSettings.SpawnEntry>> spawners, Map<EntityType<?>, SpawnSettings.SpawnDensity> spawnCosts) -
Uses of SpawnGroup in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type SpawnGroupModifier and TypeMethodDescriptionChunkGenerator.getEntitySpawnList(RegistryEntry<Biome> biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) -
Uses of SpawnGroup in net.minecraft.world.gen.structure
Fields in net.minecraft.world.gen.structure with type parameters of type SpawnGroupModifier and TypeFieldDescriptionprivate final Map<SpawnGroup,StructureSpawns> Structure.Config.spawnOverridesThe field for thespawnOverridesrecord component.Methods in net.minecraft.world.gen.structure that return types with arguments of type SpawnGroupModifier and TypeMethodDescriptionStructure.getStructureSpawns()Structure.Config.spawnOverrides()Returns the value of thespawnOverridesrecord component.Method parameters in net.minecraft.world.gen.structure with type arguments of type SpawnGroupModifier and TypeMethodDescriptionprivate static Structure.ConfigStructures.createConfig(TagKey<Biome> biomeTag, Map<SpawnGroup, StructureSpawns> spawns, GenerationStep.Feature featureStep, StructureTerrainAdaptation terrainAdaptation) Constructor parameters in net.minecraft.world.gen.structure with type arguments of type SpawnGroupModifierConstructorDescriptionConfig(RegistryEntryList<Biome> registryEntryList, Map<SpawnGroup, StructureSpawns> map, GenerationStep.Feature feature, StructureTerrainAdaptation structureTerrainAdaptation)