new config pt 10 - All configs are now managed by ConfigManager (WIP)

This commit is contained in:
nossr50
2019-02-17 08:59:09 -08:00
parent acf2bf362f
commit f4ba472403
30 changed files with 515 additions and 324 deletions

View File

@@ -20,6 +20,16 @@ public class StringUtils {
return target.substring(0, 1).toUpperCase() + target.substring(1).toLowerCase();
}
/**
* Gets the name of the entity that the config file is expecting
* @param entityType target entity type
* @return the config friendly entity type string
*/
public static String getEntityConfigName(EntityType entityType)
{
return entityType.toString();
}
public static String getPrettyItemString(Material material) {
return createPrettyString(material.toString());
}