static class Ingredient.StackEntry extends Object implements Ingredient.Entry
Modifier | Constructor and Description |
---|---|
private |
StackEntry(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
Collection<ItemStack> |
getStacks() |
JsonObject |
toJson() |
private final ItemStack stack
private StackEntry(ItemStack stack)
public Collection<ItemStack> getStacks()
getStacks
in interface Ingredient.Entry
public JsonObject toJson()
toJson
in interface Ingredient.Entry