public class BestiaryConfigurationUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static WauzCore |
core
A direct reference to the main class.
|
Constructor and Description |
---|
BestiaryConfigurationUtils() |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<java.lang.String> |
getSpeciesNameList(java.lang.String category)
Finds all species names by iterating through all species configs of a given category.
|
protected static java.util.Set<java.lang.String> |
speciesConfigGetKeys(java.lang.String category,
java.lang.String species,
java.lang.String path)
Gets a key set from a species config.
|
protected static java.lang.String |
speciesConfigGetString(java.lang.String category,
java.lang.String species,
java.lang.String path)
Gets a string from a species config.
|
private static WauzCore core
protected static java.util.List<java.lang.String> getSpeciesNameList(java.lang.String category)
category
- The name of the bestiary category.protected static java.util.Set<java.lang.String> speciesConfigGetKeys(java.lang.String category, java.lang.String species, java.lang.String path)
category
- The name of the bestiary category.species
- The name of the species config file.path
- The key path of the value to get.protected static java.lang.String speciesConfigGetString(java.lang.String category, java.lang.String species, java.lang.String path)
category
- The name of the bestiary category.species
- The name of the species config file.path
- The key path of the value to get.