Class SpigotUtil.InventoryViewAPI

java.lang.Object
net.citizensnpcs.api.util.SpigotUtil.InventoryViewAPI
Enclosing class:
SpigotUtil

public static class SpigotUtil.InventoryViewAPI extends Object
Spigot has changed InventoryViews to be an abstract class instead of an interface necessitating an abstraction over the existing API to avoid java runtime errors. This class is subject to change as required.
  • Constructor Details

  • Method Details

    • close

      public void close()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getPlayer

      public Player getPlayer()
    • getTopInventory

      public Inventory getTopInventory()
    • getView

      public InventoryView getView()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object