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:
Progwml6 committed 2014-02-14 16:01:57 -05:00
1 parent 536362cc77
commit 4e17485459
3 files changed
+12 -3

No files matched your search

+5
View File
@@ -22,4 +22,9 @@ public class BlockUtils
return GameData.blockRegistry.getNameForObject(block);
}
public static Block getBlockFromUniqueName (String uniqueName)
{
return GameData.blockRegistry.getObject(uniqueName);
}
}