REI integration
This commit is contained in:
parent
74c6c14b2a
commit
e0cf41db63
24 changed files with 272 additions and 38 deletions
|
@ -55,7 +55,7 @@ public class ItemRegistry {
|
|||
|
||||
protected static Item registerItem(String name, Item item) {
|
||||
if (item != Items.AIR) {
|
||||
Registry.register(Registry.ITEM, BetterEnd.getResId(name), item);
|
||||
Registry.register(Registry.ITEM, BetterEnd.getIdentifier(name), item);
|
||||
if (item instanceof BlockItem)
|
||||
MOD_BLOCKS.add(item);
|
||||
else
|
||||
|
@ -66,7 +66,7 @@ public class ItemRegistry {
|
|||
|
||||
protected static ToolItem registerTool(String name, ToolItem item) {
|
||||
if (item != Items.AIR) {
|
||||
Registry.register(Registry.ITEM, BetterEnd.getResId(name), item);
|
||||
Registry.register(Registry.ITEM, BetterEnd.getIdentifier(name), item);
|
||||
MOD_ITEMS.add(item);
|
||||
}
|
||||
return item;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue