Package pers.neige.neigeitems.ref.nbt
Class RefCraftItemStack
-
- All Implemented Interfaces:
-
java.lang.Cloneable
,org.bukkit.configuration.serialization.ConfigurationSerializable
public final class RefCraftItemStack extends ItemStack
-
-
Field Summary
Fields Modifier and Type Field Description public RefNmsItemStack
handle
public Material
type
public int
amount
public MaterialData
data
-
Method Summary
Modifier and Type Method Description static RefNmsItemStack
asNMSCopy(ItemStack original)
static RefNmsItemStack
copyNMSStack(RefNmsItemStack original, int amount)
static ItemStack
asBukkitCopy(RefNmsItemStack original)
static RefCraftItemStack
asCraftMirror(RefNmsItemStack original)
static RefCraftItemStack
asCraftCopy(ItemStack original)
static RefCraftItemStack
asNewCraftStack(RefItem original)
static RefCraftItemStack
asNewCraftStack(RefItem original, int amount)
-
Methods inherited from class org.bukkit.inventory.ItemStack
addEnchantment, addEnchantments, addUnsafeEnchantment, addUnsafeEnchantments, clone, containsEnchantment, deserialize, equals, getAmount, getData, getDurability, getEnchantmentLevel, getEnchantments, getItemMeta, getMaxStackSize, getType, hasItemMeta, hashCode, isSimilar, removeEnchantment, serialize, setAmount, setData, setDurability, setItemMeta, setType, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
asNMSCopy
static RefNmsItemStack asNMSCopy(ItemStack original)
-
copyNMSStack
static RefNmsItemStack copyNMSStack(RefNmsItemStack original, int amount)
-
asBukkitCopy
static ItemStack asBukkitCopy(RefNmsItemStack original)
-
asCraftMirror
static RefCraftItemStack asCraftMirror(RefNmsItemStack original)
-
asCraftCopy
static RefCraftItemStack asCraftCopy(ItemStack original)
-
asNewCraftStack
static RefCraftItemStack asNewCraftStack(RefItem original)
-
asNewCraftStack
static RefCraftItemStack asNewCraftStack(RefItem original, int amount)
-
-
-
-