public class StackList extends java.lang.Object implements Ingredient.IItemList
| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<ItemStack> |
items |
| Constructor and Description |
|---|
StackList(java.util.Collection<ItemStack> items) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ItemStack> |
getStacks() |
com.google.gson.JsonObject |
serialize() |
private com.google.gson.JsonObject |
toJson(ItemStack stack) |
private java.util.Collection<ItemStack> items
public StackList(java.util.Collection<ItemStack> items)
public java.util.Collection<ItemStack> getStacks()
getStacks in interface Ingredient.IItemListpublic com.google.gson.JsonObject serialize()
serialize in interface Ingredient.IItemListprivate com.google.gson.JsonObject toJson(ItemStack stack)