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

Public Member Functions

 ShapedOreRecipe (Block result, Object...recipe)
 
 ShapedOreRecipe (Item result, Object...recipe)
 
 ShapedOreRecipe (ItemStack result, Object...recipe)
 
ItemStack getCraftingResult (InventoryCrafting var1)
 
int getRecipeSize ()
 
ItemStack getRecipeOutput ()
 
boolean matches (InventoryCrafting inv, World world)
 
ShapedOreRecipe setMirrored (boolean mirror)
 
Object[] getInput ()
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Returns an Item that is the result of this recipe

Implements net.minecraft.item.crafting.IRecipe.

Object [] net.minecraftforge.oredict.ShapedOreRecipe.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.ShapedOreRecipe.getRecipeOutput ( )
int net.minecraftforge.oredict.ShapedOreRecipe.getRecipeSize ( )

Returns the size of the recipe area

Implements net.minecraft.item.crafting.IRecipe.

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

Used to check if a recipe matches current crafting inventory

Implements net.minecraft.item.crafting.IRecipe.

ShapedOreRecipe net.minecraftforge.oredict.ShapedOreRecipe.setMirrored ( boolean  mirror)

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