YATS/Forge Documentation
|
Public Member Functions | |
boolean | matches (InventoryCrafting inventorycrafting, World world) |
ItemStack | getCraftingResult (InventoryCrafting inventorycrafting) |
int | getRecipeSize () |
ItemStack | getRecipeOutput () |
ItemStack net.minecraft.item.crafting.IRecipe.getCraftingResult | ( | InventoryCrafting | inventorycrafting) |
Returns an Item that is the result of this recipe
Implemented in net.minecraft.item.crafting.RecipeFireworks, net.minecraftforge.oredict.ShapedOreRecipe, net.minecraft.item.crafting.ShapedRecipes, net.minecraftforge.oredict.ShapelessOreRecipe, net.minecraft.item.crafting.ShapelessRecipes, net.minecraft.item.crafting.RecipesArmorDyes, net.minecraft.item.crafting.RecipesMapExtending, and net.minecraft.item.crafting.RecipesMapCloning.
ItemStack net.minecraft.item.crafting.IRecipe.getRecipeOutput | ( | ) |
Implemented in net.minecraft.item.crafting.RecipeFireworks, net.minecraftforge.oredict.ShapedOreRecipe, net.minecraft.item.crafting.RecipesArmorDyes, net.minecraft.item.crafting.RecipesMapCloning, net.minecraftforge.oredict.ShapelessOreRecipe, net.minecraft.item.crafting.ShapedRecipes, and net.minecraft.item.crafting.ShapelessRecipes.
int net.minecraft.item.crafting.IRecipe.getRecipeSize | ( | ) |
Returns the size of the recipe area
Implemented in net.minecraft.item.crafting.RecipeFireworks, net.minecraftforge.oredict.ShapedOreRecipe, net.minecraft.item.crafting.RecipesArmorDyes, net.minecraft.item.crafting.ShapedRecipes, net.minecraft.item.crafting.RecipesMapCloning, net.minecraft.item.crafting.ShapelessRecipes, and net.minecraftforge.oredict.ShapelessOreRecipe.
boolean net.minecraft.item.crafting.IRecipe.matches | ( | InventoryCrafting | inventorycrafting, |
World | world | ||
) |
Used to check if a recipe matches current crafting inventory
Implemented in net.minecraftforge.oredict.ShapedOreRecipe, net.minecraftforge.oredict.ShapelessOreRecipe, net.minecraft.item.crafting.ShapedRecipes, net.minecraft.item.crafting.ShapelessRecipes, net.minecraft.item.crafting.RecipesMapExtending, net.minecraft.item.crafting.RecipeFireworks, net.minecraft.item.crafting.RecipesArmorDyes, and net.minecraft.item.crafting.RecipesMapCloning.