Adding a recipe to the compressor? IC2 experimental API

  • Ok, i dont know if this is the right place for this, but i want to add an recipe to the compressor but my mcp recompile thingy gives me error, i think its because of
    the code, i use this:
    Recipes.
    compressor.addRecipe(new RecipeInputItemStack(new ItemStack(Items.leave)), null, new ItemStack(Items.compressleave));

    is this good code?