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
|
|
|
/**
|
2013-03-08 19:40:59 +01:00
|
|
|
* Equivalent-Exchange-3
|
2012-08-25 08:46:51 +02:00
|
|
|
*
|
2013-03-08 19:40:59 +01:00
|
|
|
* ModItems
|
2012-08-25 08:46:51 +02:00
|
|
|
*
|
|
|
|
* @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;
|
2013-03-07 00:46:19 +01:00
|
|
|
public static Item alchemicalDust;
|
|
|
|
public static Item alchemicalBag;
|
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 */
|
2013-03-05 04:26:17 +01:00
|
|
|
miniumShard = new ItemMiniumShard(ItemIds.MINIUM_SHARD);
|
2012-11-06 21:49:43 +01:00
|
|
|
inertStone = new ItemInertStone(ItemIds.INERT_STONE);
|
2013-03-05 04:26:17 +01:00
|
|
|
miniumStone = new ItemMiniumStone(ItemIds.MINIUM_STONE);
|
2013-03-07 00:46:19 +01:00
|
|
|
philStone = new ItemPhilosophersStone(ItemIds.PHILOSOPHERS_STONE);
|
|
|
|
alchemicalDust = new ItemAlchemicalDust(ItemIds.ALCHEMICAL_DUST);
|
|
|
|
alchemicalBag = new ItemAlchemicalBag(ItemIds.ALCHEMICAL_BAG);
|
2012-08-25 08:46:51 +02:00
|
|
|
|
2013-03-05 04:26:17 +01:00
|
|
|
miniumStone.setContainerItem(miniumStone);
|
|
|
|
philStone.setContainerItem(philStone);
|
2012-10-26 04:13:25 +02:00
|
|
|
|
2013-03-05 04:26:17 +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 });
|
2012-12-19 19:09:56 +01:00
|
|
|
|
2013-03-05 04:26:17 +01:00
|
|
|
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
|
|
|
}
|