Uses of Class
org.bukkit.block.spawner.SpawnRule
Packages that use SpawnRule
Package
Description
Classes used to manipulate the voxels in a
world
,
including special states.Classes relevant to mob spawners.
-
Uses of SpawnRule in org.bukkit.block
Methods in org.bukkit.block with parameters of type SpawnRuleModifier and TypeMethodDescriptionvoid
CreatureSpawner.addPotentialSpawn
(EntitySnapshot snapshot, int weight, SpawnRule spawnRule) Adds a newEntitySnapshot
to the list of entities this spawner can spawn. -
Uses of SpawnRule in org.bukkit.block.spawner
Methods in org.bukkit.block.spawner that return SpawnRuleModifier 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.Methods in org.bukkit.block.spawner with parameters of type SpawnRuleModifier and TypeMethodDescriptionvoid
SpawnerEntry.setSpawnRule
(SpawnRule spawnRule) Sets theSpawnRule
for this SpawnerEntry, null may be used to clear the current spawn rule.Constructors in org.bukkit.block.spawner with parameters of type SpawnRuleModifierConstructorDescriptionSpawnerEntry
(EntitySnapshot snapshot, int spawnWeight, SpawnRule spawnRule)