Class InvokeUtil
-
- All Implemented Interfaces:
public class InvokeUtil
-
-
Field Summary
Fields Modifier and Type Field Description public final static MethodHandle
getMetaFromItemStack
public final static MethodHandle
setMetaToItemStack
public final static MethodHandle
getCustomTagFromCraftMetaItem
public final static MethodHandle
setCustomTagToCraftMetaItem
-
Constructor Summary
Constructors Constructor Description InvokeUtil()
-
Method Summary
Modifier and Type Method Description static ItemMeta
getItemMeta(ItemStack itemStack)
static void
setItemMeta(ItemStack itemStack, ItemMeta meta)
static RefNbtTagCompound
getCustomTag(RefCraftMetaItem itemMeta)
static void
setCustomTag(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)
-
-
-
-