Uses of Class
org.bukkit.block.spawner.SpawnerEntry
-
Uses of SpawnerEntry in org.bukkit.spawner
Modifier and TypeMethodDescriptionBaseSpawner.getPotentialSpawns()
Gets a list of potential spawns from this spawner or an empty list if no entities have been assigned to this spawner.Modifier and TypeMethodDescriptionvoid
BaseSpawner.addPotentialSpawn
(@NotNull SpawnerEntry spawnerEntry) Adds a newSpawnerEntry
to the list of entities this spawner can spawn.void
BaseSpawner.setSpawnedEntity
(@NotNull SpawnerEntry spawnerEntry) Sets theSpawnerEntry
that will be spawned by this spawner.Modifier and TypeMethodDescriptionvoid
BaseSpawner.setPotentialSpawns
(@NotNull Collection<SpawnerEntry> entries) Sets the list ofSpawnerEntry
this spawner can spawn.