REI integration
This commit is contained in:
parent
74c6c14b2a
commit
e0cf41db63
24 changed files with 272 additions and 38 deletions
|
@ -55,12 +55,12 @@ public class BlockRegistry {
|
|||
public static void register() {}
|
||||
|
||||
public static Block registerBlock(String name, Block block) {
|
||||
Registry.register(Registry.BLOCK, BetterEnd.getResId(name), block);
|
||||
Registry.register(Registry.BLOCK, BetterEnd.getIdentifier(name), block);
|
||||
ItemRegistry.registerItem(name, new BlockItem(block, new Item.Settings().group(CreativeTab.END_TAB)));
|
||||
return block;
|
||||
}
|
||||
|
||||
public static Block registerBlockNI(String name, Block block) {
|
||||
return Registry.register(Registry.BLOCK, BetterEnd.getResId(name), block);
|
||||
return Registry.register(Registry.BLOCK, BetterEnd.getIdentifier(name), block);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue