public class MixtureCreatorShapedRecipes
extends java.lang.Object
implements net.minecraft.item.crafting.IRecipe
Modifier and Type | Field and Description |
---|---|
int |
recipeHeight
How many vertical slots this recipe uses.
|
net.minecraft.item.ItemStack[] |
recipeItems
Is a array of ItemStack that composes the recipe.
|
int |
recipeWidth
How many horizontal slots this recipe is wide.
|
Constructor and Description |
---|
MixtureCreatorShapedRecipes(int width,
int height,
net.minecraft.item.ItemStack[] p_i1917_3_,
net.minecraft.item.ItemStack output) |
Modifier and Type | Method and Description |
---|---|
MixtureCreatorShapedRecipes |
func_92100_c() |
net.minecraft.item.ItemStack |
getCraftingResult(net.minecraft.inventory.InventoryCrafting p_77572_1_)
Returns an Item that is the result of this recipe
|
net.minecraft.item.ItemStack |
getRecipeOutput() |
int |
getRecipeSize()
Returns the size of the recipe area
|
net.minecraft.item.ItemStack[] |
getRemainingItems(net.minecraft.inventory.InventoryCrafting p_179532_1_) |
boolean |
matches(net.minecraft.inventory.InventoryCrafting p_77569_1_,
net.minecraft.world.World worldIn)
Used to check if a recipe matches current crafting inventory
|
public final int recipeWidth
public final int recipeHeight
public final net.minecraft.item.ItemStack[] recipeItems
public MixtureCreatorShapedRecipes(int width, int height, net.minecraft.item.ItemStack[] p_i1917_3_, net.minecraft.item.ItemStack output)
public net.minecraft.item.ItemStack getRecipeOutput()
getRecipeOutput
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.item.ItemStack[] getRemainingItems(net.minecraft.inventory.InventoryCrafting p_179532_1_)
getRemainingItems
in interface net.minecraft.item.crafting.IRecipe
public boolean matches(net.minecraft.inventory.InventoryCrafting p_77569_1_, net.minecraft.world.World worldIn)
matches
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.item.ItemStack getCraftingResult(net.minecraft.inventory.InventoryCrafting p_77572_1_)
getCraftingResult
in interface net.minecraft.item.crafting.IRecipe
public int getRecipeSize()
getRecipeSize
in interface net.minecraft.item.crafting.IRecipe
public MixtureCreatorShapedRecipes func_92100_c()