net.minecraftforge.oredict
Class ShapelessOreRecipe
java.lang.Object
net.minecraftforge.oredict.ShapelessOreRecipe
- All Implemented Interfaces:
- IRecipe
public class ShapelessOreRecipe
- extends Object
- implements IRecipe
ShapelessOreRecipe
public ShapelessOreRecipe(Block result,
Object... recipe)
ShapelessOreRecipe
public ShapelessOreRecipe(Item result,
Object... recipe)
ShapelessOreRecipe
public ShapelessOreRecipe(ItemStack result,
Object... recipe)
getRecipeSize
public int getRecipeSize()
- Description copied from interface:
IRecipe
- Returns the size of the recipe area
- Specified by:
getRecipeSize
in interface IRecipe
getRecipeOutput
public ItemStack getRecipeOutput()
- Specified by:
getRecipeOutput
in interface IRecipe
getCraftingResult
public ItemStack getCraftingResult(InventoryCrafting var1)
- Description copied from interface:
IRecipe
- Returns an Item that is the result of this recipe
- Specified by:
getCraftingResult
in interface IRecipe
matches
public boolean matches(InventoryCrafting var1,
World world)
- Description copied from interface:
IRecipe
- Used to check if a recipe matches current crafting inventory
- Specified by:
matches
in interface IRecipe