YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraftforge.oredict.ShapelessOreRecipe Class Reference
Inheritance diagram for net.minecraftforge.oredict.ShapelessOreRecipe:
net.minecraft.item.crafting.IRecipe

Public Member Functions

 ShapelessOreRecipe (Block result, Object...recipe)
 
 ShapelessOreRecipe (Item result, Object...recipe)
 
 ShapelessOreRecipe (ItemStack result, Object...recipe)
 
int getRecipeSize ()
 
ItemStack getRecipeOutput ()
 
ItemStack getCraftingResult (InventoryCrafting var1)
 
boolean matches (InventoryCrafting var1, World world)
 
ArrayList getInput ()
 

Constructor & Destructor Documentation

net.minecraftforge.oredict.ShapelessOreRecipe.ShapelessOreRecipe ( Block  result,
Object...  recipe 
)
net.minecraftforge.oredict.ShapelessOreRecipe.ShapelessOreRecipe ( Item  result,
Object...  recipe 
)
net.minecraftforge.oredict.ShapelessOreRecipe.ShapelessOreRecipe ( ItemStack  result,
Object...  recipe 
)

Member Function Documentation

ItemStack net.minecraftforge.oredict.ShapelessOreRecipe.getCraftingResult ( InventoryCrafting  inventorycrafting)

Returns an Item that is the result of this recipe

Implements net.minecraft.item.crafting.IRecipe.

ArrayList net.minecraftforge.oredict.ShapelessOreRecipe.getInput ( )

Returns the input for this recipe, any mod accessing this value should never manipulate the values in this array as it will effect the recipe itself.

Returns
The recipes input vales.
ItemStack net.minecraftforge.oredict.ShapelessOreRecipe.getRecipeOutput ( )
int net.minecraftforge.oredict.ShapelessOreRecipe.getRecipeSize ( )

Returns the size of the recipe area

Implements net.minecraft.item.crafting.IRecipe.

boolean net.minecraftforge.oredict.ShapelessOreRecipe.matches ( InventoryCrafting  inventorycrafting,
World  world 
)

Used to check if a recipe matches current crafting inventory

Implements net.minecraft.item.crafting.IRecipe.


The documentation for this class was generated from the following file: