Uses of Enum
org.bukkit.entity.SpawnCategory
Packages that use SpawnCategory
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.-
Uses of SpawnCategory in org.bukkit
Methods in org.bukkit with parameters of type SpawnCategoryModifier and TypeMethodDescriptionstatic intBukkit.getSpawnLimit(SpawnCategory spawnCategory) Gets user-specified limit for number ofSpawnCategorymobs that can spawn in a chunk.intServer.getSpawnLimit(SpawnCategory spawnCategory) Gets user-specified limit for number ofSpawnCategorymobs that can spawn in a chunk.intWorld.getSpawnLimit(SpawnCategory spawnCategory) Gets the limit for number ofSpawnCategoryentities that can spawn in a chunk in this worldstatic intBukkit.getTicksPerSpawns(SpawnCategory spawnCategory) Gets the default ticks perSpawnCategoryspawns value.intServer.getTicksPerSpawns(SpawnCategory spawnCategory) Gets the default ticks perSpawnCategoryspawns value.longWorld.getTicksPerSpawns(SpawnCategory spawnCategory) Gets the world's ticks perSpawnCategorymob spawns valuevoidWorld.setSpawnLimit(SpawnCategory spawnCategory, int limit) Sets the limit for number ofSpawnCategoryentities that can spawn in a chunk in this worldvoidWorld.setTicksPerSpawns(SpawnCategory spawnCategory, int ticksPerCategorySpawn) Sets the world's ticks perSpawnCategorymob spawns value -
Uses of SpawnCategory in org.bukkit.entity
Methods in org.bukkit.entity that return SpawnCategoryModifier and TypeMethodDescriptionEntity.getSpawnCategory()Get the category of spawn to which this entity belongs.static SpawnCategoryReturns the enum constant of this type with the specified name.static SpawnCategory[]SpawnCategory.values()Returns an array containing the constants of this enum type, in the order they are declared.