public class MixtureCreatorShapelessRecipes
extends java.lang.Object
implements net.minecraft.item.crafting.IRecipe
Modifier and Type | Field and Description |
---|---|
java.util.List |
recipeItems
Is a List of ItemStack that composes the recipe.
|
Constructor and Description |
---|
MixtureCreatorShapelessRecipes(net.minecraft.item.ItemStack output,
java.util.List inputList) |
Modifier and Type | Method and Description |
---|---|
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 java.util.List recipeItems
public MixtureCreatorShapelessRecipes(net.minecraft.item.ItemStack output, java.util.List inputList)
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