Class ItemContainerChanged

  • public final class ItemContainerChanged
    extends Object
    An event called whenever the stack size of an Item in an ItemContainer is modified.

    Examples of when this event may trigger include:

    • Withdrawing an item from bank (triggers for both bank and player inv)
    • Picking up an item
    • Dropping an item
    • Constructor Detail

      • ItemContainerChanged

        public ItemContainerChanged​(int containerId,
                                    ItemContainer itemContainer)
    • Method Detail

      • getContainerId

        public int getContainerId()
        The modified container's ID.
      • getItemContainer

        public ItemContainer getItemContainer()
        The modified item container.
      • hashCode

        public int hashCode()
        hashCode in class Object