Class Ollivanders2API

java.lang.Object
net.pottercraft.ollivanders2.Ollivanders2API

public class Ollivanders2API extends Object
API for allowing other plugins to interact with Ollivanders.
  • Field Details

    • playerCommon

      public static O2PlayerCommon playerCommon
      Common player functions
    • common

      public static Ollivanders2Common common
      Common functions
    • entityCommon

      public static EntityCommon entityCommon
      Entity common functions
  • Constructor Details

    • Ollivanders2API

      public Ollivanders2API()
  • Method Details

    • getHouses

      @NotNull public static @NotNull O2Houses getHouses()
      Get the house management object
      Returns:
      houses management object
    • getPlayers

      @NotNull public static @NotNull O2Players getPlayers()
      Get the player management object.
      Returns:
      the player management object
    • getBooks

      @NotNull public static @NotNull O2Books getBooks()
      Get the books management object.
      Returns:
      the book management object
    • getSpells

      @NotNull public static @NotNull O2Spells getSpells()
      Get the spells management object.
      Returns:
      the spells management object
    • getPotions

      @NotNull public static @NotNull O2Potions getPotions()
      Get the potions management object.
      Returns:
      the potions management object
    • getStationarySpells

      @NotNull public static @NotNull O2StationarySpells getStationarySpells()
      Get the stationary spells management object.
      Returns:
      the stationary spells management object
    • getProphecies

      @NotNull public static @NotNull O2Prophecies getProphecies()
      Get the prophecy management object.
      Returns:
      the prophecy management object
    • getItems

      @NotNull public static @NotNull O2Items getItems()
      Get the item management object.
      Returns:
      the item management object
    • getOwlPost

      @NotNull public static @NotNull Ollivanders2OwlPost getOwlPost()
      Get the owl post management object
      Returns:
      the owlPost management object