Uses of Enum
org.bukkit.entity.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
Modifier and TypeMethodDescriptionstatic int
Bukkit.getSpawnLimit
(SpawnCategory spawnCategory) Gets user-specified limit for number ofSpawnCategory
mobs that can spawn in a chunk.int
Server.getSpawnLimit
(SpawnCategory spawnCategory) Gets user-specified limit for number ofSpawnCategory
mobs that can spawn in a chunk.int
World.getSpawnLimit
(SpawnCategory spawnCategory) Gets the limit for number ofSpawnCategory
entities that can spawn in a chunk in this worldstatic int
Bukkit.getTicksPerSpawns
(SpawnCategory spawnCategory) Gets the default ticks perSpawnCategory
spawns value.int
Server.getTicksPerSpawns
(SpawnCategory spawnCategory) Gets the default ticks perSpawnCategory
spawns value.long
World.getTicksPerSpawns
(SpawnCategory spawnCategory) Gets the world's ticks perSpawnCategory
mob spawns valuevoid
World.setSpawnLimit
(SpawnCategory spawnCategory, int limit) Sets the limit for number ofSpawnCategory
entities that can spawn in a chunk in this worldvoid
World.setTicksPerSpawns
(SpawnCategory spawnCategory, int ticksPerCategorySpawn) Sets the world's ticks perSpawnCategory
mob spawns value -
Uses of SpawnCategory in org.bukkit.entity
Modifier and TypeMethodDescriptionEntity.getSpawnCategory()
Get the category of spawn to which this entity belongs.static SpawnCategory
Returns 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.