Interface ItemStack

All Known Implementing Classes:
BukkitItemStack

public interface ItemStack
Represents a stack of items in an inventory.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull ItemType
    Get the ItemType of this stack.
    @Nullable String
    Get the value of the VeinMiner-defined NBT key for this stack.
  • Method Details

    • getType

      @NotNull @NotNull ItemType getType()
      Get the ItemType of this stack.
      Returns:
      the type
    • getVeinMinerNBTValue

      @Nullable @Nullable String getVeinMinerNBTValue()
      Get the value of the VeinMiner-defined NBT key for this stack. The returned value acts as a unique identifier for item stacks that require a specific tag.
      Returns:
      the value, or null if not set