Uses of Class
net.minecraft.entity.SpawnGroup
Package | Description |
---|---|
net.minecraft.entity | |
net.minecraft.entity.ai.brain.task | |
net.minecraft.server.command | |
net.minecraft.world | |
net.minecraft.world.biome | |
net.minecraft.world.gen.chunk |
-
Uses of SpawnGroup in net.minecraft.entity
Fields in net.minecraft.entity declared as SpawnGroup Modifier and Type Field Description private SpawnGroup
EntityType.Builder. spawnGroup
private SpawnGroup
EntityType. spawnGroup
Fields in net.minecraft.entity with type parameters of type SpawnGroup Modifier and Type Field Description private static Map<String,SpawnGroup>
SpawnGroup. BY_NAME
static com.mojang.serialization.Codec<SpawnGroup>
SpawnGroup. CODEC
A codec that encodes and decodes a spawn group from and to its name string.Methods in net.minecraft.entity that return SpawnGroup Modifier and Type Method Description static SpawnGroup
SpawnGroup. byName(String name)
Finds the spawn group with the givenname
, ornull
if no group has the givenname
.SpawnGroup
EntityType. getSpawnGroup()
static SpawnGroup
SpawnGroup. valueOf(String name)
Returns the enum constant of this type with the specified name.static SpawnGroup[]
SpawnGroup. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.entity with parameters of type SpawnGroup Modifier and Type Method Description static <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 SpawnGroup Constructor Description Builder(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 Constructor Description FollowMobTask(SpawnGroup spawnGroup, float maxDistance)
-
Uses of SpawnGroup in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type SpawnGroup Modifier and Type Method Description private static int
DebugMobSpawningCommand. execute(ServerCommandSource source, SpawnGroup group, BlockPos pos)
-
Uses of SpawnGroup in net.minecraft.world
Fields in net.minecraft.world declared as SpawnGroup Modifier and Type Field Description private static SpawnGroup[]
SpawnHelper. SPAWNABLE_GROUPS
Fields in net.minecraft.world with type parameters of type SpawnGroup Modifier and Type Field Description private Object2IntOpenHashMap<SpawnGroup>
SpawnHelper.Info. groupToCount
private Object2IntMap<SpawnGroup>
SpawnHelper.Info. groupToCountView
Methods in net.minecraft.world that return types with arguments of type SpawnGroup Modifier and Type Method Description Object2IntMap<SpawnGroup>
SpawnHelper.Info. getGroupToCount()
Methods in net.minecraft.world with parameters of type SpawnGroup Modifier and Type Method Description private 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)
private static class_6012<SpawnSettings.SpawnEntry>
SpawnHelper. getSpawnEntries(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, BlockPos pos, @Nullable Biome biome)
private boolean
SpawnHelper.Info. isBelowCap(SpawnGroup group)
private static Optional<SpawnSettings.SpawnEntry>
SpawnHelper. pickRandomSpawnEntry(ServerWorld world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, SpawnGroup spawnGroup, Random random, BlockPos pos)
static void
SpawnHelper. spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, BlockPos pos)
static void
SpawnHelper. spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, Chunk chunk, BlockPos pos, SpawnHelper.Checker checker, SpawnHelper.Runner runner)
static void
SpawnHelper. spawnEntitiesInChunk(SpawnGroup group, ServerWorld world, WorldChunk chunk, SpawnHelper.Checker checker, SpawnHelper.Runner runner)
Constructor parameters in net.minecraft.world with type arguments of type SpawnGroup Constructor Description Info(int spawningChunkCount, Object2IntOpenHashMap<SpawnGroup> groupToCount, GravityField densityField)
-
Uses of SpawnGroup in net.minecraft.world.biome
Fields in net.minecraft.world.biome with type parameters of type SpawnGroup Modifier and Type Field Description private Map<SpawnGroup,List<SpawnSettings.SpawnEntry>>
SpawnSettings.Builder. spawners
private Map<SpawnGroup,class_6012<SpawnSettings.SpawnEntry>>
SpawnSettings. spawners
Methods in net.minecraft.world.biome with parameters of type SpawnGroup Modifier and Type Method Description class_6012<SpawnSettings.SpawnEntry>
SpawnSettings. getSpawnEntries(SpawnGroup spawnGroup)
SpawnSettings.Builder
SpawnSettings.Builder. spawn(SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry)
Constructor parameters in net.minecraft.world.biome with type arguments of type SpawnGroup Constructor Description SpawnSettings(float creatureSpawnProbability, Map<SpawnGroup,class_6012<SpawnSettings.SpawnEntry>> spawners, Map<EntityType<?>,SpawnSettings.SpawnDensity> spawnCosts, boolean playerSpawnFriendly)
-
Uses of SpawnGroup in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type SpawnGroup Modifier and Type Method Description class_6012<SpawnSettings.SpawnEntry>
ChunkGenerator. getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)
class_6012<SpawnSettings.SpawnEntry>
NoiseChunkGenerator. getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos)