package com.InfinityRaider.AgriCraft.compatibility.harvestcraft;

import com.InfinityRaider.AgriCraft.apiimpl.v1.cropplant.CropPlantGeneric;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.item.ItemSeeds;
import net.minecraft.item.ItemStack;

import java.util.ArrayList;

public class CropPlantHarvestCraft extends CropPlantGeneric {

    public CropPlantHarvestCraft(ItemSeeds seed) {
        super(seed);
    }

    @Override
    public int transformMeta(int growthStage) {
        return growthStage;
    }

    @Override
    public ArrayList<ItemStack> getAllFruits() {
        ArrayList<ItemStack> fruits = new ArrayList<ItemStack>();

        return fruits;
    }

    @Override
    @SideOnly(Side.CLIENT)
    public boolean renderAsFlower() {
        return false;
    }

    @Override
    @SideOnly(Side.CLIENT)
    public String getInformation() {
        String name = getSeed().getUnlocalizedName();
        int start = name.indexOf('.')+1;
        int stop = name.indexOf("seedItem");
        name = name.substring(start, stop);
        return "agricraft_journal.hc_"+Character.toUpperCase(name.charAt(0))+name.substring(1);
    }
}

@@ -252,74 +252,8 @@
 eds;
-%0Aimport net.minecraft.item.ItemStack;%0A%0Aimport java.util.ArrayList;
 %0A%0Apu
@@ -493,168 +493,8 @@
  %7D%0A%0A
-    @Override%0A    public ArrayList%3CItemStack%3E getAllFruits() %7B%0A        ArrayList%3CItemStack%3E fruits = new ArrayList%3CItemStack%3E();%0A%0A        return fruits;%0A    %7D%0A%0A
     

Fix harvestcraft derp