mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-20 04:09:45 +00:00
feat: add Java material enumeration
This commit is contained in:
1 parent
9b78099d21
commit
2bb5e7ffc9
11 files changed
+267
-10
No files matched your search
@@ -89,6 +89,13 @@ public final class MicroMaterialRegistry$ {
|
||||
return MicroMaterialRegistry.getMaterial(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the same legacy backing array as {@link MicroMaterialRegistry#getIdMap()}.
|
||||
*
|
||||
* @deprecated For enumeration, use {@link MicroMaterialRegistry#materialCount()},
|
||||
* {@link MicroMaterialRegistry#materialName(int)} and {@link MicroMaterialRegistry#getMaterial(int)}.
|
||||
*/
|
||||
@Deprecated
|
||||
public Tuple2<String, IMicroMaterial>[] getIdMap() {
|
||||
return MicroMaterialRegistry.getIdMap();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user