(String name)
| 8633 | |
| 8634 | // use a normalize() function to ensure it is accessible after a round-trip |
| 8635 | public static String normalizeName(String name) { |
| 8636 | return name.toUpperCase(java.util.Locale.ENGLISH).replaceAll("(:|\\s)", "_").replaceAll("\\W", ""); |
| 8637 | } |
| 8638 | |
| 8639 | public static Material addMaterial(String materialName, int id, boolean isBlock) { |
| 8640 | // Forge Blocks |
no test coverage detected