Update for 1.11. Missing assets, unstable.

This commit is contained in:
mezz committed 2016-12-22 16:47:56 -08:00
1 parent 30d7365518
commit 9611ae08ae
1145 files changed
+15561 -18107

No files matched your search

@@ -5,17 +5,15 @@
******************************************************************************/
package forestry.api.recipes;
import javax.annotation.Nonnull;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.util.NonNullList;
/**
* Extension of IRecipe to give better access to the expected crafting inputs.
* Replacement for IRecipe to give better access to the expected crafting inputs.
* It can be matched against regular IInventory instead of just InventoryCrafting.
* Useful for displaying crafting recipes.
*/
public interface IDescriptiveRecipe extends IRecipe {
public interface IDescriptiveRecipe {
/**
* @return width of the crafting ingredients in the crafting table
@@ -31,9 +29,7 @@ public interface IDescriptiveRecipe extends IRecipe {
* @return array of all the ingredients in the crafting table.
* Ingredients may be null, ItemStack, ItemStack[], or a List of ItemStack
*/
Object[] getIngredients();
NonNullList<NonNullList<ItemStack>> getIngredients();
@Nonnull
@Override
ItemStack getRecipeOutput();
}