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

Public Member Functions

 ShapelessRecipes (ItemStack par1ItemStack, List par2List)
 
ItemStack getRecipeOutput ()
 
boolean matches (InventoryCrafting par1InventoryCrafting, World par2World)
 
ItemStack getCraftingResult (InventoryCrafting par1InventoryCrafting)
 
int getRecipeSize ()
 

Public Attributes

final List recipeItems
 

Constructor & Destructor Documentation

net.minecraft.item.crafting.ShapelessRecipes.ShapelessRecipes ( ItemStack  par1ItemStack,
List  par2List 
)

Member Function Documentation

ItemStack net.minecraft.item.crafting.ShapelessRecipes.getCraftingResult ( InventoryCrafting  par1InventoryCrafting)

Returns an Item that is the result of this recipe

Implements net.minecraft.item.crafting.IRecipe.

ItemStack net.minecraft.item.crafting.ShapelessRecipes.getRecipeOutput ( )
int net.minecraft.item.crafting.ShapelessRecipes.getRecipeSize ( )

Returns the size of the recipe area

Implements net.minecraft.item.crafting.IRecipe.

boolean net.minecraft.item.crafting.ShapelessRecipes.matches ( InventoryCrafting  par1InventoryCrafting,
World  par2World 
)

Used to check if a recipe matches current crafting inventory

Implements net.minecraft.item.crafting.IRecipe.

Member Data Documentation

final List net.minecraft.item.crafting.ShapelessRecipes.recipeItems

Is a List of ItemStack that composes the recipe.


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