Class StackList
- java.lang.Object
-
- net.minecraftforge.common.crafting.StackList
-
- All Implemented Interfaces:
Ingredient.IItemList
public class StackList extends java.lang.Object implements Ingredient.IItemList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ItemStack>
getItems()
com.google.gson.JsonObject
serialize()
private com.google.gson.JsonObject
toJson(ItemStack stack)
-
-
-
Field Detail
-
items
private java.util.Collection<ItemStack> items
-
-
Constructor Detail
-
StackList
public StackList(java.util.Collection<ItemStack> items)
-
-
Method Detail
-
getItems
public java.util.Collection<ItemStack> getItems()
- Specified by:
getItems
in interfaceIngredient.IItemList
-
serialize
public com.google.gson.JsonObject serialize()
- Specified by:
serialize
in interfaceIngredient.IItemList
-
toJson
private com.google.gson.JsonObject toJson(ItemStack stack)
-
-