equivalent-exchange-3/src/main/java/com/pahimar/ee3/init/ModItems.java
Pahimar f41b0279a6 Added some more NPE protection to the ID based ItemStack comparator
Added back in the small and medium sized Alchemical Chest aludel recipes
Added a recipe to make a chalk block from 4 pieces of chalk
Created an EE test suite to test EE specific energy values
Re-registered several EE items
Removed a duplicate Gson type adapter registration
Changed the ItemStackSerializer to return JsonNull in the event that there is no registered name for the item (the item would never deserialize as it wouldn't have a name to lookup)
Changed the EnergyValueMapSerializer to allow serializing of null energy values (as JsonNull). Used for energy value testing.
2016-05-26 12:02:37 -04:00

77 lines
4.3 KiB
Java

package com.pahimar.ee3.init;
import com.pahimar.ee3.item.*;
import com.pahimar.ee3.reference.Names;
import com.pahimar.ee3.reference.Reference;
import cpw.mods.fml.common.registry.GameRegistry;
@GameRegistry.ObjectHolder(Reference.MOD_ID)
public class ModItems
{
public static final ItemEE alchemicalBag = new ItemAlchemicalBag();
public static final ItemEE alchemicalDust = new ItemAlchemicalDust();
public static final ItemEE alchemicalFuel = new ItemAlchemicalFuel();
public static final ItemEE stoneInert = new ItemInertStone();
public static final ItemEE shardMinium = new ItemMiniumShard();
public static final ItemEE stoneMinium = new ItemMiniumStone();
public static final ItemEE stonePhilosophers = new ItemPhilosophersStone();
public static final ItemEE alchemicalUpgrade = new ItemAlchemicalInventoryUpgrade();
public static final ItemEE chalk = new ItemChalk();
public static final ItemEE diviningRod = new ItemDiviningRod();
public static final ItemEE alchenomicon = new ItemAlchenomicon();
public static final ItemEE matter = new ItemMatter();
public static final ItemEE gem = new ItemGem();
public static final ItemEE lootBall = new ItemLootBall();
public static final ItemEE knowledgeScroll = new ItemKnowledgeScroll();
public static final ItemEE potionLethe = new ItemPotionLethe();
public static final ItemToolEE shovelDarkMatter = new ItemDarkMatterShovel();
public static final ItemToolEE pickAxeDarkMatter = new ItemDarkMatterPickAxe();
public static final ItemEE hammerDarkMatter = new ItemDarkMatterHammer();
public static final ItemToolEE axeDarkMatter = new ItemDarkMatterAxe();
public static final ItemDarkMatterHoe hoeDarkMatter = new ItemDarkMatterHoe();
public static final ItemDarkMatterFishingRod fishingRodDarkMatter = new ItemDarkMatterFishingRod();
public static final ItemDarkMatterShears shearsDarkMatter = new ItemDarkMatterShears();
public static final ItemDarkMatterBow bowDarkMatter = new ItemDarkMatterBow();
public static final ItemDarkMatterArrow arrowDarkMatter = new ItemDarkMatterArrow();
public static final ItemDarkMatterSword swordDarkMatter = new ItemDarkMatterSword();
public static void init()
{
GameRegistry.registerItem(alchemicalBag, Names.Items.ALCHEMICAL_BAG);
GameRegistry.registerItem(alchemicalDust, Names.Items.ALCHEMICAL_DUST);
GameRegistry.registerItem(alchemicalFuel, Names.Items.ALCHEMICAL_FUEL);
GameRegistry.registerItem(stoneInert, Names.Items.INERT_STONE);
GameRegistry.registerItem(shardMinium, Names.Items.MINIUM_SHARD);
GameRegistry.registerItem(stoneMinium, Names.Items.MINIUM_STONE);
GameRegistry.registerItem(stonePhilosophers, Names.Items.PHILOSOPHERS_STONE);
GameRegistry.registerItem(chalk, Names.Items.CHALK);
GameRegistry.registerItem(alchemicalUpgrade, Names.Items.ALCHEMICAL_UPGRADE);
GameRegistry.registerItem(diviningRod, Names.Items.DIVINING_ROD);
GameRegistry.registerItem(alchenomicon, Names.Items.ALCHENOMICON, Names.Items.ALCHEMICAL_TOME);
GameRegistry.registerItem(matter, Names.Items.MATTER);
GameRegistry.registerItem(gem, Names.Items.GEM);
GameRegistry.registerItem(lootBall, Names.Items.LOOT_BALL);
GameRegistry.registerItem(knowledgeScroll, Names.Items.KNOWLEDGE_SCROLL);
GameRegistry.registerItem(potionLethe, Names.Items.POTION_LETHE);
GameRegistry.registerItem(shovelDarkMatter, Names.Tools.DARK_MATTER_SHOVEL);
GameRegistry.registerItem(pickAxeDarkMatter, Names.Tools.DARK_MATTER_PICKAXE);
GameRegistry.registerItem(hammerDarkMatter, Names.Tools.DARK_MATTER_HAMMER);
GameRegistry.registerItem(axeDarkMatter, Names.Tools.DARK_MATTER_AXE);
GameRegistry.registerItem(hoeDarkMatter, Names.Tools.DARK_MATTER_HOE);
GameRegistry.registerItem(fishingRodDarkMatter, Names.Tools.DARK_MATTER_FISHING_ROD);
GameRegistry.registerItem(shearsDarkMatter, Names.Tools.DARK_MATTER_SHEARS);
GameRegistry.registerItem(bowDarkMatter, Names.Weapons.DARK_MATTER_BOW);
GameRegistry.registerItem(arrowDarkMatter, Names.Weapons.DARK_MATTER_ARROW);
GameRegistry.registerItem(swordDarkMatter, Names.Weapons.DARK_MATTER_SWORD);
// Helm
// Chest
// Leggings
// Boots
}
}