public class InventoryUtil
extends java.lang.Object
Constructor and Description |
---|
InventoryUtil() |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.inventory.Inventory |
fromBase64(java.lang.String data) |
static java.lang.String |
InventoryToString(org.bukkit.inventory.ItemStack[] items) |
static org.bukkit.inventory.ItemStack[] |
StringToInventory(java.lang.String data) |
static java.lang.String |
toBase64(org.bukkit.inventory.Inventory inventory) |
static java.lang.String |
toBase64(org.bukkit.inventory.ItemStack[] is,
int size) |
public static java.lang.String InventoryToString(org.bukkit.inventory.ItemStack[] items) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public static org.bukkit.inventory.ItemStack[] StringToInventory(java.lang.String data) throws java.io.IOException
java.io.IOException
public static java.lang.String toBase64(org.bukkit.inventory.Inventory inventory)
public static java.lang.String toBase64(org.bukkit.inventory.ItemStack[] is, int size)
public static org.bukkit.inventory.Inventory fromBase64(java.lang.String data)