@Override public void registerBlocks() { GameRegistry.registerBlock(saltOre, "saltOre"); GameRegistry.registerBlock(platinumOre, "platinumOre"); GameRegistry.registerBlock(leadOre, "leadOre"); GameRegistry.registerBlock(cinnabarOre, "cinnabarOre"); GameRegistry.registerBlock(carobbiiteOre, "carobiiteOre"); TickRegistry.registerScheduledTickHandler(new ScheduledTickHandler(), Side.SERVER); GameRegistry.registerTileEntity(TileLabBench.class, "LabBench"); }
@Override public void registerItems() { GameRegistry.registerItem(CompoundMetaItem, CompoundMetaItem.getItemName()); MinecraftForgeClient.registerItemRenderer(CompoundMetaItem.itemID, new ItemCompoundRenderer()); }