mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-27 23:32:59 +00:00
add in method to get block/item from unique name, multiservant logic now uses this in r/w custom nbt
This commit is contained in:
1 parent
536362cc77
commit
4e17485459
3 files changed
+12
-3
No files matched your search
@@ -22,4 +22,9 @@ public class BlockUtils
|
||||
return GameData.blockRegistry.getNameForObject(block);
|
||||
}
|
||||
|
||||
public static Block getBlockFromUniqueName (String uniqueName)
|
||||
{
|
||||
return GameData.blockRegistry.getObject(uniqueName);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user