Class Item

java.lang.Object
com.valhalla.sdk.api.items.Item

public final class Item extends Object
Immutable container-slot snapshot used by inventory and equipment adapters.
  • Constructor Details

    • Item

      public Item(int id, int amount, int slot)
    • Item

      public Item(int id, int amount, int slot, String name, boolean placeholder, boolean noted, int tab)
  • Method Details

    • getId

      public int getId()
    • getAmount

      public int getAmount()
    • getSlot

      public int getSlot()
    • getName

      public String getName()
    • hasName

      public boolean hasName()
    • isPlaceholder

      public boolean isPlaceholder()
    • isNoted

      public boolean isNoted()
    • getTab

      public int getTab()
    • isStackableAmount

      public boolean isStackableAmount()
    • equals

      public boolean equals(Object value)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object