public class ItemStackHelper
extends java.lang.Object
| Constructor and Description | 
|---|
ItemStackHelper()  | 
| Modifier and Type | Method and Description | 
|---|---|
static ItemStack | 
getAndRemove(java.util.List<ItemStack> stacks,
            int index)  | 
static ItemStack | 
getAndSplit(java.util.List<ItemStack> stacks,
           int index,
           int amount)  | 
static void | 
loadAllItems(CompoundNBT tag,
            NonNullList<ItemStack> list)  | 
static CompoundNBT | 
saveAllItems(CompoundNBT tag,
            NonNullList<ItemStack> list)  | 
static CompoundNBT | 
saveAllItems(CompoundNBT tag,
            NonNullList<ItemStack> list,
            boolean saveEmpty)  | 
public static ItemStack getAndSplit(java.util.List<ItemStack> stacks, int index, int amount)
public static CompoundNBT saveAllItems(CompoundNBT tag, NonNullList<ItemStack> list)
public static CompoundNBT saveAllItems(CompoundNBT tag, NonNullList<ItemStack> list, boolean saveEmpty)
public static void loadAllItems(CompoundNBT tag, NonNullList<ItemStack> list)