Enum Class AsyncWorldEditHandler

java.lang.Object
java.lang.Enum<AsyncWorldEditHandler>
us.talabrek.ultimateskyblock.handler.AsyncWorldEditHandler
All Implemented Interfaces:
Serializable, Comparable<AsyncWorldEditHandler>, Constable

public enum AsyncWorldEditHandler extends Enum<AsyncWorldEditHandler>
Handles integration with AWE. Very HACKY and VERY unstable. Only kept as a cosmetic measure, to at least try to give the players some feedback.
  • Field Details

    • NULL_ADAPTOR

      public static final AWEAdaptor NULL_ADAPTOR
  • Method Details

    • values

      public static AsyncWorldEditHandler[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AsyncWorldEditHandler valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • onEnable

      public static void onEnable(uSkyBlock plugin)
    • onDisable

      public static void onDisable(uSkyBlock plugin)
    • createEditSession

      public static com.sk89q.worldedit.EditSession createEditSession(com.sk89q.worldedit.world.World world, int maxblocks)
    • loadIslandSchematic

      public static void loadIslandSchematic(File file, org.bukkit.Location origin, PlayerPerk playerPerk)
    • regenerate

      public static void regenerate(com.sk89q.worldedit.regions.Region region, Runnable onCompletion)
    • getAWEAdaptor

      public static AWEAdaptor getAWEAdaptor()
    • isAWE

      public static boolean isAWE()
    • getFAWE

      public static org.bukkit.plugin.Plugin getFAWE()
    • getAWE

      public static org.bukkit.plugin.Plugin getAWE()