Uses of Enum Class
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(@NotNull SpawnCategory spawnCategory) Gets user-specified limit for number ofSpawnCategorymobs that can spawn in a chunk.intServer.getSpawnLimit(@NotNull SpawnCategory spawnCategory) Gets user-specified limit for number ofSpawnCategorymobs that can spawn in a chunk.intWorld.getSpawnLimit(@NotNull SpawnCategory spawnCategory) Gets the limit for number ofSpawnCategoryentities that can spawn in a chunk in this worldstatic intBukkit.getTicksPerSpawns(@NotNull SpawnCategory spawnCategory) Gets the default ticks perSpawnCategoryspawns value.intServer.getTicksPerSpawns(@NotNull SpawnCategory spawnCategory) Gets the default ticks perSpawnCategoryspawns value.longWorld.getTicksPerSpawns(@NotNull SpawnCategory spawnCategory) Gets the world's ticks perSpawnCategorymob spawns valuevoidWorld.setSpawnLimit(@NotNull SpawnCategory spawnCategory, int limit) Sets the limit for number ofSpawnCategoryentities that can spawn in a chunk in this worldvoidWorld.setTicksPerSpawns(@NotNull 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 TypeMethodDescription@NotNull SpawnCategoryEntity.getSpawnCategory()Get the category of spawn to which this entity belongs.static SpawnCategoryReturns 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.