package gregtech.loaders.postload;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import gregtech.api.enums.ItemList;
import gregtech.api.enums.Materials;
import gregtech.api.enums.OrePrefixes;
import gregtech.api.util.GT_BaseCrop;
import gregtech.api.util.GT_Log;
import gregtech.api.util.GT_OreDictUnificator;
public class GT_CropLoader implements Runnable {
@Override
public void run() {
GT_Log.out.println("GT_Mod: Register Crops to IC2.");
try {
/*
* Tags: Vines = Tendrilly Edible = Food
*/
ItemStack[] tI = { ItemList.Crop_Drop_Indigo.get(4L), ItemList.Crop_Drop_MilkWart.get(4L),
new ItemStack(Blocks.brown_mushroom, 4), new ItemStack(Blocks.red_mushroom, 4) };
new GT_BaseCrop(
124,
"Indigo",
"Eloraam",
tI[0],
2,
4,
0,
1,
4,
1,
1,
0,
4,
0,
new String[] { "Flower", "Blue", "Ingredient" },
ItemList.Crop_Drop_Indigo.get(1L),
null);
new GT_BaseCrop(
125,
"Flax",
"Eloraam",
null,
2,
4,
0,
1,
4,
1,
1,
2,
0,
1,
new String[] { "Silk", "Tendrilly", "Addictive" },
new ItemStack(Items.string, 1),
null);
new GT_BaseCrop(
126,
"Oilberries",
"Spacetoad",
null,
9,
4,
0,
1,
4,
6,
1,
2,
1,
12,
new String[] { "Fire", "Dark", "Reed", "Rotten", "Coal", "Oil" },
ItemList.Crop_Drop_OilBerry.get(1L),
null);
new GT_BaseCrop(
127,
"Bobsyeruncleranks",
"GenerikB",
null,
11,
4,
0,
1,
4,
4,
0,
8,
2,
9,
new String[] { "Shiny", "Tendrilly", "Emerald", "Berylium", "Crystal" },
Materials.Emerald,
ItemList.Crop_Drop_BobsYerUncleRanks.get(1L),
new ItemStack[] { new ItemStack(Items.emerald, 1) });
new GT_BaseCrop(
128,
"Diareed",
"Direwolf20",
null,
12,
4,
0,
1,
4,
5,
0,
10,
2,
10,
new String[] { "Fire", "Shiny", "Reed", "Coal", "Diamond", "Crystal" },
Materials.Diamond,
GT_OreDictUnificator.get(OrePrefixes.dust, Materials.Diamond, 1L),
new ItemStack[] { new ItemStack(Items.diamond, 1) });
new GT_BaseCrop(
129,
"Withereed",
"CovertJaguar",
null,
8,
4,
0,
1,
4,
2,
0,
4,
1,
3,
new String[] { "Fire", "Undead", "Reed", "Coal", "Rotten", "Wither" },
Materials.Coal,