# Uses of Enum Class
org.bukkit.entity.SpawnCategory

Packages that use SpawnCategory
Package
Description
org.bukkit
The root package of the Bukkit API, contains generalized API classes.
org.bukkit.entity
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 SpawnCategory
Modifier and Type
Method
Description
`static int`
Bukkit.`getSpawnLimit(@NotNull SpawnCategory spawnCategory)`
Gets user-specified limit for number of `SpawnCategory` mobs that can spawn in a chunk.
`int`
Server.`getSpawnLimit(@NotNull SpawnCategory spawnCategory)`
Gets user-specified limit for number of `SpawnCategory` mobs that can spawn in a chunk.
`int`
World.`getSpawnLimit(@NotNull SpawnCategory spawnCategory)`
Gets the limit for number of `SpawnCategory` entities that can spawn in a chunk in this world
`static int`
Bukkit.`getTicksPerSpawns(@NotNull SpawnCategory spawnCategory)`
Gets the default ticks per `SpawnCategory` spawns value.
`int`
Server.`getTicksPerSpawns(@NotNull SpawnCategory spawnCategory)`
Gets the default ticks per `SpawnCategory` spawns value.
`long`
World.`getTicksPerSpawns(@NotNull SpawnCategory spawnCategory)`
Gets the world's ticks per `SpawnCategory` mob spawns value
`void`
World.`setSpawnLimit(@NotNull SpawnCategory spawnCategory, int limit)`
Sets the limit for number of `SpawnCategory` entities that can spawn in a chunk in this world
`void`
World.`setTicksPerSpawns(@NotNull SpawnCategory spawnCategory, int ticksPerCategorySpawn)`
Sets the world's ticks per `SpawnCategory` mob spawns value

## Uses of SpawnCategory in org.bukkit.entity

Methods in org.bukkit.entity that return SpawnCategory
Modifier and Type
Method
Description
`@NotNull SpawnCategory`
Entity.`getSpawnCategory()`
Get the category of spawn to which this entity belongs.
`static SpawnCategory`
SpawnCategory.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static SpawnCategory[]`
SpawnCategory.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.