Uses of Class
org.bukkit.block.spawner.SpawnRule
Package
Description
Classes relevant to mob spawners.
Classes related to entity spawners.
-
Uses of SpawnRule in org.bukkit.block.spawner
Modifier and TypeMethodDescriptionSpawnRule.clone()
static SpawnRule
SpawnRule.deserialize
(Map<String, Object> args) SpawnerEntry.getSpawnRule()
Gets a copy of theSpawnRule
for this SpawnerEntry, or null if none has been set.Modifier and TypeMethodDescriptionvoid
SpawnerEntry.setSpawnRule
(SpawnRule spawnRule) Sets theSpawnRule
for this SpawnerEntry, null may be used to clear the current spawn rule.ModifierConstructorDescriptionSpawnerEntry
(EntitySnapshot snapshot, int spawnWeight, SpawnRule spawnRule) SpawnerEntry
(EntitySnapshot snapshot, int spawnWeight, SpawnRule spawnRule, SpawnerEntry.Equipment equipment) -
Uses of SpawnRule in org.bukkit.spawner
Modifier and TypeMethodDescriptionvoid
BaseSpawner.addPotentialSpawn
(EntitySnapshot snapshot, int weight, SpawnRule spawnRule) Adds a newEntitySnapshot
to the list of entities this spawner can spawn.