Ejemplo n.º 1
0
  public static void configureItems() {
    OreDictionary.registerOre("ingotHeeEndium", ItemList.endium_ingot);

    GameRegistryUtil.registerEventHandler(Item.getItemFromBlock(BlockList.enderman_head));
    GameRegistryUtil.registerEventHandler(ItemList.amulet_of_recovery);
    GameRegistryUtil.registerEventHandler(ItemList.amulet_of_recovery);
    GameRegistryUtil.registerEventHandler(ItemList.scorching_pickaxe);
    GameRegistry.registerFuelHandler((IFuelHandler) ItemList.igneous_rock);

    FluidContainerRegistry.registerFluidContainer(
        BlockEnderGoo.fluid,
        new ItemStack(ItemList.bucket_ender_goo),
        FluidContainerRegistry.EMPTY_BUCKET);
  }
Ejemplo n.º 2
0
  public static void registerItems() {
    for (Entry<String, Item> entry : ItemList.items.entrySet()) {
      GameRegistryUtil.registerItem(entry.getValue(), entry.getKey());
    }

    ModCreativeTab.tabMain.list.add(
        ethereum,
        ancient_dust,
        alteration_nexus,
        energy_oracle,
        energy_receptacle,
        amulet_of_recovery,
        spatial_dash_gem,
        essence,
        enhanced_brewing_stand,
        end_powder,
        endium_ingot,
        stardust,
        igneous_rock,
        instability_orb,
        potion_of_instability,
        blank_gem,
        transference_gem,
        silverfish_blood,
        dry_splinter,
        infestation_remedy,
        charm_pouch,
        rune,
        ghost_amulet,
        ectoplasm,
        spectral_tear,
        living_matter,
        curse,
        potion_of_purity,
        curse_amulet,
        infernium,
        scorching_pickaxe,
        arcane_shard,
        obsidian_fragment,
        obsidian_rod,
        auricion,
        energy_wand_core,
        BlockList.enderman_head,
        bucket_ender_goo,
        knowledge_note,
        // TODO SANCTUARY sacred_wand,sacred_wand_cores,
        exp_bottle,
        music_disk,
        portal_token,
        spawn_eggs,
        Blocks.end_portal,
        BlockList.void_portal);

    ModCreativeTab.tabCharms.list.add(charm);
  }