public class OneBlockConfigurator extends GlobalConfigurationUtils
| Constructor and Description |
|---|
OneBlockConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
getAllPhaseKeys() |
static java.util.List<java.lang.String> |
getChestContentStrings(java.lang.String phaseKey,
OneChestType chestType) |
static int |
getChestStackCount(java.lang.String phaseKey,
OneChestType chestType) |
static double |
getMobHostileChance(java.lang.String phaseKey) |
static java.util.List<org.bukkit.entity.EntityType> |
getMobs(java.lang.String phaseKey,
boolean hostile) |
static double |
getMobSpawnChance(java.lang.String phaseKey) |
static int |
getPhaseLevelBlockAmount(java.lang.String phaseKey,
java.lang.String levelKey) |
static java.util.List<java.lang.String> |
getPhaseLevelBlocks(java.lang.String phaseKey,
java.lang.String levelKey) |
static java.util.List<java.lang.String> |
getPhaseLevelKeys(java.lang.String phaseKey) |
static java.lang.String |
getPhaseLevelName(java.lang.String phaseKey,
java.lang.String levelKey) |
static java.lang.String |
getPhaseName(java.lang.String phaseKey) |
mainConfigGetBoolean, mainConfigGetDouble, mainConfigGetInt, mainConfigGetKeys, mainConfigGetLocation, mainConfigGetLong, mainConfigGetString, mainConfigGetStringList, mainConfigSetpublic static java.util.List<java.lang.String> getAllPhaseKeys()
public static java.util.List<java.lang.String> getPhaseLevelKeys(java.lang.String phaseKey)
phaseKey - The key of the phase.public static java.lang.String getPhaseName(java.lang.String phaseKey)
phaseKey - The key of the phase.public static java.lang.String getPhaseLevelName(java.lang.String phaseKey,
java.lang.String levelKey)
phaseKey - The key of the phase.levelKey - The key of the phase's level.public static double getMobSpawnChance(java.lang.String phaseKey)
phaseKey - The key of the phase.public static double getMobHostileChance(java.lang.String phaseKey)
phaseKey - The key of the phase.public static java.util.List<org.bukkit.entity.EntityType> getMobs(java.lang.String phaseKey,
boolean hostile)
phaseKey - The key of the phase.hostile - If hostile mobs should be listed, instead of passive ones.public static int getChestStackCount(java.lang.String phaseKey,
OneChestType chestType)
phaseKey - The key of the phase.chestType - The type of the chest.public static java.util.List<java.lang.String> getChestContentStrings(java.lang.String phaseKey,
OneChestType chestType)
phaseKey - The key of the phase.chestType - The type of the chest.public static int getPhaseLevelBlockAmount(java.lang.String phaseKey,
java.lang.String levelKey)
phaseKey - The key of the phase.levelKey - The key of the phase's level.public static java.util.List<java.lang.String> getPhaseLevelBlocks(java.lang.String phaseKey,
java.lang.String levelKey)
phaseKey - The key of the phase.levelKey - The key of the phase's level.