Example #1
0
  @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");
  }
Example #2
0
 @Override
 public void registerItems() {
   GameRegistry.registerItem(CompoundMetaItem, CompoundMetaItem.getItemName());
   MinecraftForgeClient.registerItemRenderer(CompoundMetaItem.itemID, new ItemCompoundRenderer());
 }