public class ItemStackMap<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
ItemStackMap.DetailMap |
static class |
ItemStackMap.Entry<T> |
static class |
ItemStackMap.StackMetaKey |
| Modifier and Type | Field and Description |
|---|---|
static NBTTagCompound |
WILDCARD_TAG |
| Constructor and Description |
|---|
ItemStackMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.util.List<ItemStackMap.Entry<T>> |
entries() |
T |
get(ItemStack key) |
static int |
getKeyType(int damage,
NBTTagCompound tag) |
boolean |
isEmpty() |
static boolean |
isWildcard(int damage) |
static boolean |
isWildcard(NBTTagCompound tag) |
java.util.List<ItemStack> |
keys() |
void |
put(ItemStack key,
T value) |
T |
remove(ItemStack key) |
int |
size() |
java.util.List<T> |
values() |
static ItemStack |
wildcard(Item item) |
public static int getKeyType(int damage,
NBTTagCompound tag)
public static ItemStack wildcard(Item item)
public static boolean isWildcard(int damage)
public static boolean isWildcard(NBTTagCompound tag)
public T get(ItemStack key)
public void put(ItemStack key,
T value)
public void clear()
public T remove(ItemStack key)
public java.util.List<ItemStack> keys()
public java.util.List<T> values()
public java.util.List<ItemStackMap.Entry<T>> entries()
public int size()
public boolean isEmpty()