public class RandomSpawner extends Object
Modifier and Type | Field and Description |
---|---|
HashSet<org.bukkit.block.Biome> |
biomes |
float |
chance |
List<SkillCondition> |
conditions |
int |
level |
List<MythicMob> |
mobTypes |
String |
name |
int |
priority |
static Set<RandomSpawnPoint> |
spawnPoints |
HashSet<org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason> |
spawnReasons |
HashSet<AbstractWorld> |
worlds |
Constructor and Description |
---|
RandomSpawner(String file,
String name,
MythicConfig mc) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkSpawn(RandomSpawnPoint rsp) |
RandomSpawnerAction |
getAction() |
int |
getBaseLevel() |
HashSet<org.bukkit.block.Biome> |
getBiomes() |
float |
getChance() |
int |
getLevel(AbstractLocation location) |
int |
getPriority() |
HashSet<org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason> |
getReasons() |
HashSet<AbstractWorld> |
getWorlds() |
boolean |
hasConditions() |
boolean |
isValid() |
ActiveMob |
spawn(RandomSpawnPoint rsp) |
public static Set<RandomSpawnPoint> spawnPoints
public String name
public int priority
public int level
public float chance
public HashSet<org.bukkit.block.Biome> biomes
public HashSet<AbstractWorld> worlds
public HashSet<org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason> spawnReasons
public List<SkillCondition> conditions
public RandomSpawner(String file, String name, MythicConfig mc)
public float getChance()
public int getLevel(AbstractLocation location)
public int getBaseLevel()
public int getPriority()
public RandomSpawnerAction getAction()
public HashSet<org.bukkit.block.Biome> getBiomes()
public HashSet<AbstractWorld> getWorlds()
public HashSet<org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason> getReasons()
public boolean isValid()
public boolean hasConditions()
public boolean checkSpawn(RandomSpawnPoint rsp)
public ActiveMob spawn(RandomSpawnPoint rsp)
Copyright © 2020. All rights reserved.