public class RandomSpawnerManager extends PluginComponent
Modifier and Type | Class and Description |
---|---|
class |
RandomSpawnerManager.RandomPointGeneratorLand |
Constructor and Description |
---|
RandomSpawnerManager(MythicMobs core) |
Modifier and Type | Method and Description |
---|---|
void |
doSpawns(RandomSpawnPoint rsp,
Iterator<RandomSpawner> it) |
Set<RandomSpawnPoint> |
getLandSpawnPoints() |
int |
getMobsNearPlayer(AbstractPlayer p) |
int |
getNumberOfSpawners() |
Set<RandomSpawnPoint> |
getSeaSpawnPoints() |
AbstractEntity |
handleSpawnEvent(RandomSpawnPoint rsp) |
void |
load(MythicMobs plugin) |
void |
loadRandomSpawns() |
void |
spawnMobs() |
void |
unload() |
bind, close, doBinding, getPlugin, setup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public List<RandomSpawner> listRandomSpawningAddLand
public List<RandomSpawner> listRandomSpawningAddSea
public List<RandomSpawner> listRandomSpawningAddAir
public List<RandomSpawner> listRandomSpawningR
public List<RandomSpawner> listRandomSpawningD
public Set<RandomSpawnPoint> landSpawnPoints
public Set<RandomSpawnPoint> airSpawnPoints
public Set<RandomSpawnPoint> seaSpawnPoints
public Set<RandomSpawnPoint> lavaSpawnPoints
public Set<RandomSpawnPoint> groundSpawnPoints
public RandomSpawnerManager(MythicMobs core)
public void loadRandomSpawns()
public int getNumberOfSpawners()
public AbstractEntity handleSpawnEvent(RandomSpawnPoint rsp)
public void load(MythicMobs plugin)
load
in class io.lumine.utils.plugin.PluginModule<MythicMobs>
public void unload()
unload
in class io.lumine.utils.plugin.PluginModule<MythicMobs>
public void spawnMobs()
public void doSpawns(RandomSpawnPoint rsp, Iterator<RandomSpawner> it)
public int getMobsNearPlayer(AbstractPlayer p)
public Set<RandomSpawnPoint> getLandSpawnPoints()
public Set<RandomSpawnPoint> getSeaSpawnPoints()
Copyright © 2020. All rights reserved.