Interface AngelChestPlugin


public interface AngelChestPlugin
Represents the main instance of the AngelChest plugin
  • Method Details

    • getAllAngelChests

      @NotNull @NotNull Set<AngelChest> getAllAngelChests()
      Gets a Set of all currently loaded AngelChests
      Returns:
      Set including all loaded AngelChests
    • getAllAngelChestsFromPlayer

      @NotNull @NotNull LinkedHashSet<AngelChest> getAllAngelChestsFromPlayer(OfflinePlayer player)
      Gets a LinkedHashSet of all AngelChests currently loaded and owned by a specific player. The position of the chests inside the LinkedHashSet correspondents to their ID in /aclist
      Parameters:
      player -
      Returns:
      Set including all loaded AngelChests by this player
    • getAngelChestAtBlock

      @Nullable @Nullable AngelChest getAngelChestAtBlock(Block block)
      Gets an AngelChest at a specific location, or null if that block is not an AngelChest
      Parameters:
      block -
      Returns:
      The AngelChest, or null
    • createAngelChest

      @NotNull @NotNull AngelChest createAngelChest(AngelChestBuilder angelChestBuilder)