Class InvokeUtil
-
- All Implemented Interfaces:
public class InvokeUtil
-
-
Field Summary
Fields Modifier and Type Field Description public final static MethodHandlegetMetaFromItemStackpublic final static MethodHandlesetMetaToItemStackpublic final static MethodHandlegetCustomTagFromCraftMetaItempublic final static MethodHandlesetCustomTagToCraftMetaItem
-
Constructor Summary
Constructors Constructor Description InvokeUtil()
-
Method Summary
Modifier and Type Method Description static ItemMetagetItemMeta(ItemStack itemStack)static voidsetItemMeta(ItemStack itemStack, ItemMeta meta)static RefNbtTagCompoundgetCustomTag(RefCraftMetaItem itemMeta)static voidsetCustomTag(ItemMeta itemMeta, RefNbtTagCompound customTag)-
-
Method Detail
-
getItemMeta
static ItemMeta getItemMeta(ItemStack itemStack)
-
setItemMeta
static void setItemMeta(ItemStack itemStack, ItemMeta meta)
-
getCustomTag
static RefNbtTagCompound getCustomTag(RefCraftMetaItem itemMeta)
-
setCustomTag
static void setCustomTag(ItemMeta itemMeta, RefNbtTagCompound customTag)
-
-
-
-