public class ObservableShapedRecipe
extends net.minecraft.item.crafting.ShapedRecipes
| Constructor and Description |
|---|
ObservableShapedRecipe(int recipeWidth,
int recipeHeight,
net.minecraft.item.ItemStack[] recipeItems,
net.minecraft.item.ItemStack recipeOutput,
IRecipeOutputObserver observer)
Make a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
getCraftingResult(net.minecraft.inventory.InventoryCrafting craftingGrid) |
public ObservableShapedRecipe(int recipeWidth,
int recipeHeight,
net.minecraft.item.ItemStack[] recipeItems,
net.minecraft.item.ItemStack recipeOutput,
IRecipeOutputObserver observer)
recipeWidth - The recipe width.recipeHeight - The recipe height.recipeItems - The recipe items.recipeOutput - The recipe output.observer - The observer for the output.public net.minecraft.item.ItemStack getCraftingResult(net.minecraft.inventory.InventoryCrafting craftingGrid)
getCraftingResult in interface net.minecraft.item.crafting.IRecipegetCraftingResult in class net.minecraft.item.crafting.ShapedRecipes