2012-12-17 21:21:53 +01:00
|
|
|
package com.pahimar.ee3.item;
|
|
|
|
|
2012-12-13 16:01:41 +01:00
|
|
|
import net.minecraft.block.Block;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
2012-08-25 08:07:59 +02:00
|
|
|
|
2012-12-19 19:09:56 +01:00
|
|
|
import com.pahimar.ee3.lib.ItemIds;
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.registry.GameRegistry;
|
|
|
|
|
2012-08-25 08:07:59 +02:00
|
|
|
/**
|
2012-08-25 08:46:51 +02:00
|
|
|
* ModItems
|
|
|
|
*
|
|
|
|
* Contains all relevant mod item instances
|
|
|
|
*
|
|
|
|
* @author pahimar
|
|
|
|
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
|
|
|
|
*
|
|
|
|
*/
|
2012-08-25 08:07:59 +02:00
|
|
|
public class ModItems {
|
2012-08-25 08:46:51 +02:00
|
|
|
|
2012-09-07 21:41:43 +02:00
|
|
|
/* Mod item instances */
|
2012-08-25 08:46:51 +02:00
|
|
|
public static Item miniumShard;
|
2012-10-27 22:04:43 +02:00
|
|
|
public static Item inertStone;
|
2012-08-25 08:46:51 +02:00
|
|
|
public static Item miniumStone;
|
|
|
|
public static Item philStone;
|
2012-11-04 19:14:51 +01:00
|
|
|
public static Item alchemyDust;
|
2012-12-01 04:45:54 +01:00
|
|
|
public static Item alchemyBag;
|
2012-08-25 08:46:51 +02:00
|
|
|
|
|
|
|
public static void init() {
|
2012-12-19 19:09:56 +01:00
|
|
|
|
2012-08-25 08:46:51 +02:00
|
|
|
/* Initialize each mod item individually */
|
2012-11-06 21:49:43 +01:00
|
|
|
miniumShard = new ItemMiniumShard(ItemIds.MINIUM_SHARD);
|
|
|
|
inertStone = new ItemInertStone(ItemIds.INERT_STONE);
|
|
|
|
miniumStone = new ItemMiniumStone(ItemIds.MINIUM_STONE);
|
|
|
|
philStone = new ItemPhilosopherStone(ItemIds.PHILOSOPHER_STONE);
|
|
|
|
alchemyDust = new ItemAlchemyDust(ItemIds.ALCHEMY_DUST);
|
2012-12-01 04:45:54 +01:00
|
|
|
alchemyBag = new ItemAlchemyBag(ItemIds.ALCHEMY_BAG);
|
2012-08-25 08:46:51 +02:00
|
|
|
|
2012-09-24 21:58:15 +02:00
|
|
|
miniumStone.setContainerItem(miniumStone);
|
|
|
|
philStone.setContainerItem(philStone);
|
2012-10-26 04:13:25 +02:00
|
|
|
|
2012-12-19 19:09:56 +01:00
|
|
|
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 });
|
2012-09-26 20:02:35 +02:00
|
|
|
|
2012-08-25 08:46:51 +02:00
|
|
|
}
|
2012-08-25 08:07:59 +02:00
|
|
|
}
|