YATS/Forge Documentation
|
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 |
net.minecraft.item.crafting.ShapelessRecipes.ShapelessRecipes | ( | ItemStack | par1ItemStack, |
List | par2List | ||
) |
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 | ( | ) |
Implements net.minecraft.item.crafting.IRecipe.
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.
final List net.minecraft.item.crafting.ShapelessRecipes.recipeItems |
Is a List of ItemStack that composes the recipe.