Class BukkitItemStack

All Implemented Interfaces:
NbtValued

public class BukkitItemStack extends BaseItemStack
  • Constructor Details

    • BukkitItemStack

      public BukkitItemStack(ItemStack stack)
    • BukkitItemStack

      public BukkitItemStack(ItemType type, ItemStack stack)
  • Method Details

    • getAmount

      public int getAmount()
      Overrides:
      getAmount in class BaseItemStack
    • getNativeItem

      @Nullable public Object getNativeItem()
      Overrides:
      getNativeItem in class BaseItem
    • getBukkitItemStack

      public ItemStack getBukkitItemStack()
    • hasNbtData

      public boolean hasNbtData()
    • getNbtData

      @Nullable public CompoundTag getNbtData()
    • setNbtData

      public void setNbtData(@Nullable CompoundTag nbtData)