Search in sources :

Example 1 with RailcraftItems

use of mods.railcraft.common.items.RailcraftItems in project Railcraft by Railcraft.

the class RailcraftConfig method loadItems.

private static void loadItems() {
    configItems.addCustomCategoryComment(CAT_ITEMS, "Many items can be disabled by setting them to 'false'.\n" + "This is not true for all items, so some experimentation may be needed.\n" + "Some disabled items will cause a substitute to be used in crafting recipes.");
    for (RailcraftItems item : RailcraftItems.VALUES) {
        loadItemProperty(item.getBaseTag());
    }
    Map<String, Property> items = configItems.getCategory(CAT_ITEMS);
    items.keySet().retainAll(enabledItems.keySet());
//        loadItemProperty("tool.crowbar.magic");
//        loadItemProperty("tool.crowbar.void");
//        loadItemProperty("backpack.trackman.t1");
//        loadItemProperty("backpack.trackman.t2");
//        loadItemProperty("backpack.iceman.t1");
//        loadItemProperty("backpack.iceman.t2");
//        loadItemProperty("backpack.apothecary.t1");
//        loadItemProperty("backpack.apothecary.t2");
//
//        loadItemProperty("fluid.steam.bottle");
//        loadItemProperty("fluid.creosote.cell");
//        loadItemProperty("fluid.creosote.bottle");
//        loadItemProperty("fluid.creosote.can");
//        loadItemProperty("fluid.creosote.wax");
//        loadItemProperty("fluid.creosote.refactory");
//        loadItemProperty("fluid.creosote.bucket");
//
//        loadItemProperty("firestone.cut");
//        loadItemProperty("firestone.raw");
//        loadItemProperty("firestone.refined");
//        loadItemProperty("firestone.cracked");
//
//        loadItemProperty("tool.steel.shears");
//        loadItemProperty("tool.steel.sword");
//        loadItemProperty("tool.steel.shovel");
//        loadItemProperty("tool.steel.pickaxe");
//        loadItemProperty("tool.steel.axe");
//        loadItemProperty("tool.steel.hoe");
//
//        loadItemProperty("armor.steel.helmet");
//        loadItemProperty("armor.steel.plate");
//        loadItemProperty("armor.steel.legs");
//        loadItemProperty("armor.steel.boots");
//
//        changeItemProperty("item.ic2.upgrade.lapotron", "ic2.upgrade.lapotron");
//
//        loadItemProperty("tool.bore.head.diamond");
//        loadItemProperty("tool.bore.head.iron");
//        loadItemProperty("tool.bore.head.steel");
//
//        changeItemProperty("item.cart.tnt", "cart.tnt");
//        loadItemProperty("cart.tnt.wood");
//        changeItemProperty("item.cart.pumpkin", "cart.pumpkin");
//        changeItemProperty("item.cart.gift", "cart.gift");
//
//        changeItemProperty("item.cart.tank", "cart.tank");
//        changeItemProperty("item.cart.bore", "cart.bore");
//
//        loadItemProperty("cart.energy.batbox");
//        loadItemProperty("cart.energy.cesu");
//        loadItemProperty("cart.energy.mfe");
//        loadItemProperty("cart.energy.mfsu");
//
//        changeItemProperty("item.cart.worldspike", "cart.worldspike");
//        changeItemProperty("item.cart.worldspike.personal", "cart.worldspike.personal");
//        changeItemProperty("item.cart.worldspike.admin", "cart.worldspike.admin");
//        changeItemProperty("item.cart.work", "cart.work");
//        changeItemProperty("item.cart.track.relayer", "cart.track.relayer");
//        changeItemProperty("item.cart.undercutter", "cart.undercutter");
//
//        changeItemProperty("cart.loco.steam", "cart.loco.steam.solid");
//
//        loadItemProperty("emblem");
}
Also used : RailcraftItems(mods.railcraft.common.items.RailcraftItems) Property(net.minecraftforge.common.config.Property)

Aggregations

RailcraftItems (mods.railcraft.common.items.RailcraftItems)1 Property (net.minecraftforge.common.config.Property)1