Package beer.devs.fastnbt.nms.nbt
Interface ICraftItemStack<ListTag,CompoundTag,CraftItemStack extends org.bukkit.inventory.ItemStack>
- All Superinterfaces:
ICompoundTag<org.bukkit.inventory.ItemStack,ListTag, CompoundTag>
public interface ICraftItemStack<ListTag,CompoundTag,CraftItemStack extends org.bukkit.inventory.ItemStack>
extends ICompoundTag<org.bukkit.inventory.ItemStack,ListTag,CompoundTag>
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackasCraftMirror(org.bukkit.inventory.ItemStack itemStack) asNmsCopy(org.bukkit.inventory.ItemStack itemStack) default StringbukkitItemToCompoundStr(org.bukkit.inventory.ItemStack bukkitItem) @Nullable org.bukkit.inventory.ItemStackcompoundStrToBukkit(String json) @Nullable org.bukkit.inventory.ItemStackcompoundToItemStack(CompoundTag itemStack) convertToCraft(org.bukkit.inventory.ItemStack itemStack) default booleanhasItemMeta(org.bukkit.inventory.ItemStack itemStack) booleanhasNBT(org.bukkit.inventory.ItemStack itemStack) booleanisInstanceOfCraftItemStack(org.bukkit.inventory.ItemStack bukkitItem) itemStackToCompound(org.bukkit.inventory.ItemStack itemStack) voidmerge(org.bukkit.inventory.ItemStack itemStack, org.bukkit.inventory.ItemStack otherItem) Methods inherited from interface beer.devs.fastnbt.nms.nbt.ICompoundTag
getBoolean, getByte, getByteArray, getCompound, getDouble, getFloat, getInt, getIntArray, getKeys, getList, getLong, getLongArray, getOrAddCompound, getOrAddList, getShort, getString, getUUID, hasKey, hasUUID, isEmpty, isValid, merge, newInstance, putTag, remove, setBoolean, setByte, setByteArray, setDouble, setFloat, setInt, setIntArray, setIntegerList, setLong, setLongArray, setLongList, setShort, setString, setUUID, toString
-
Method Details
-
convertToCraft
-
hasNBT
boolean hasNBT(org.bukkit.inventory.ItemStack itemStack) -
merge
void merge(org.bukkit.inventory.ItemStack itemStack, org.bukkit.inventory.ItemStack otherItem) -
hasItemMeta
default boolean hasItemMeta(org.bukkit.inventory.ItemStack itemStack) -
asCraftMirror
org.bukkit.inventory.ItemStack asCraftMirror(org.bukkit.inventory.ItemStack itemStack) -
asNmsCopy
-
compoundToItemStack
-
itemStackToCompound
-
compoundStrToBukkit
-
bukkitItemToCompoundStr
-
isInstanceOfCraftItemStack
boolean isInstanceOfCraftItemStack(org.bukkit.inventory.ItemStack bukkitItem)
-