Class SubInventoryOpenEvent

java.lang.Object
org.screamingsandals.simpleinventories.events.SubInventoryOpenEvent
All Implemented Interfaces:
org.screamingsandals.lib.event.Cancellable, org.screamingsandals.lib.event.SCancellableEvent, org.screamingsandals.lib.event.SEvent

public class SubInventoryOpenEvent extends Object implements org.screamingsandals.lib.event.SCancellableEvent
  • Constructor Details

    • SubInventoryOpenEvent

      public SubInventoryOpenEvent(org.screamingsandals.lib.player.PlayerWrapper player, SubInventory subInventory, int page)
  • Method Details

    • getFormat

      public InventorySet getFormat()
    • getParent

      public IdentifiableEntry getParent()
    • getPlayer

      public org.screamingsandals.lib.player.PlayerWrapper getPlayer()
    • getSubInventory

      public SubInventory getSubInventory()
    • getPage

      public int getPage()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.screamingsandals.lib.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.screamingsandals.lib.event.Cancellable
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object