diff --git a/src/main/java/gregtech/api/enums/Materials.java b/src/main/java/gregtech/api/enums/Materials.java index 3f412ba3..f950ec3f 100644 --- a/src/main/java/gregtech/api/enums/Materials.java +++ b/src/main/java/gregtech/api/enums/Materials.java @@ -1805,6 +1805,11 @@ public class Materials implements IColorModulationContainer, ISubTagContainer { return mRGBa; } + /** This is for keeping compatiblity with addons mods (Such as TinkersGregworks) that looped over the old materials enum **/ + public String name() { + return mName; + } + /** This is for keeping compatiblity with addons mods (Such as TinkersGregworks) that looped over the old materials enum **/ public static Materials[] values() { return MATERIALS_ARRAY;