public class ShapelessRecipeHandler.CachedShapelessRecipe extends TemplateRecipeHandler.CachedRecipe
| Modifier and Type | Field and Description |
|---|---|
java.util.ArrayList<PositionedStack> |
ingredients |
PositionedStack |
result |
| Constructor and Description |
|---|
CachedShapelessRecipe() |
CachedShapelessRecipe(ItemStack output) |
CachedShapelessRecipe(java.util.List<?> input,
ItemStack output) |
CachedShapelessRecipe(java.lang.Object[] input,
ItemStack output) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PositionedStack> |
getIngredients()
The ingredients required to produce the result
Use this if you have more than one ingredient
|
PositionedStack |
getResult() |
void |
setIngredients(java.util.List<?> items) |
void |
setResult(ItemStack output) |
contains, contains, getCycledIngredients, getIngredient, getOtherStack, getOtherStacks, randomRenderPermutation, setIngredientPermutationpublic java.util.ArrayList<PositionedStack> ingredients
public PositionedStack result
public CachedShapelessRecipe()
public CachedShapelessRecipe(ItemStack output)
public CachedShapelessRecipe(java.lang.Object[] input,
ItemStack output)
public CachedShapelessRecipe(java.util.List<?> input,
ItemStack output)
public void setIngredients(java.util.List<?> items)
public void setResult(ItemStack output)
public java.util.List<PositionedStack> getIngredients()
TemplateRecipeHandler.CachedRecipegetIngredients in class TemplateRecipeHandler.CachedRecipepublic PositionedStack getResult()
getResult in class TemplateRecipeHandler.CachedRecipe