49 lines
1.6 KiB
Java
49 lines
1.6 KiB
Java
|
package com.pahimar.ee3.item;
|
||
|
|
||
|
import net.minecraft.block.Block;
|
||
|
import net.minecraft.item.Item;
|
||
|
import net.minecraft.item.ItemStack;
|
||
|
|
||
|
import com.pahimar.ee3.lib.ItemIds;
|
||
|
|
||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||
|
|
||
|
/**
|
||
|
* Equivalent-Exchange-3
|
||
|
*
|
||
|
* ModItems
|
||
|
*
|
||
|
* @author pahimar
|
||
|
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
|
||
|
*
|
||
|
*/
|
||
|
public class ModItems {
|
||
|
|
||
|
/* Mod item instances */
|
||
|
public static Item miniumShard;
|
||
|
public static Item inertStone;
|
||
|
public static Item miniumStone;
|
||
|
public static Item philStone;
|
||
|
public static Item alchemicalDust;
|
||
|
public static Item alchemicalBag;
|
||
|
|
||
|
public static void init() {
|
||
|
|
||
|
/* Initialize each mod item individually */
|
||
|
miniumShard = new ItemMiniumShard(ItemIds.MINIUM_SHARD);
|
||
|
inertStone = new ItemInertStone(ItemIds.INERT_STONE);
|
||
|
miniumStone = new ItemMiniumStone(ItemIds.MINIUM_STONE);
|
||
|
philStone = new ItemPhilosophersStone(ItemIds.PHILOSOPHERS_STONE);
|
||
|
alchemicalDust = new ItemAlchemicalDust(ItemIds.ALCHEMICAL_DUST);
|
||
|
alchemicalBag = new ItemAlchemicalBag(ItemIds.ALCHEMICAL_BAG);
|
||
|
|
||
|
miniumStone.setContainerItem(miniumStone);
|
||
|
philStone.setContainerItem(philStone);
|
||
|
|
||
|
GameRegistry.addRecipe(new ItemStack(inertStone), new Object[] { "sis", "igi", "sis", Character.valueOf('s'), Block.stone, Character.valueOf('i'), Item.ingotIron, Character.valueOf('g'), Item.ingotGold });
|
||
|
|
||
|
GameRegistry.addRecipe(new ItemStack(miniumStone), new Object[] { "sss", "sis", "sss", Character.valueOf('s'), miniumShard, Character.valueOf('i'), inertStone });
|
||
|
|
||
|
}
|
||
|
}
|