End Stone Smelter

This commit is contained in:
Aleksey 2020-09-29 15:26:15 +03:00
parent 257307d93d
commit a542aac45b
18 changed files with 551 additions and 77 deletions

View file

@ -42,12 +42,12 @@ public class BlockRegistry {
public static void register() {}
public static Block registerBlock(String name, Block block) {
Registry.register(Registry.BLOCK, new Identifier(BetterEnd.MOD_ID, name), block);
Registry.register(Registry.BLOCK, BetterEnd.getResId(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, new Identifier(BetterEnd.MOD_ID, name), block);
return Registry.register(Registry.BLOCK, BetterEnd.getResId(name), block);
}
}