Enum Class AsyncWorldEditHandler
- All Implemented Interfaces:
Serializable
,Comparable<AsyncWorldEditHandler>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.sk89q.worldedit.EditSession
createEditSession
(com.sk89q.worldedit.world.World world, int maxblocks) static org.bukkit.plugin.Plugin
getAWE()
static AWEAdaptor
static org.bukkit.plugin.Plugin
getFAWE()
static boolean
isAWE()
static void
loadIslandSchematic
(File file, org.bukkit.Location origin, PlayerPerk playerPerk) static void
static void
static void
regenerate
(com.sk89q.worldedit.regions.Region region, Runnable onCompletion) static AsyncWorldEditHandler
Returns the enum constant of this class with the specified name.static AsyncWorldEditHandler[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Field Details
-
NULL_ADAPTOR
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
onEnable
-
onDisable
-
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
-
getAWEAdaptor
-
isAWE
public static boolean isAWE() -
getFAWE
public static org.bukkit.plugin.Plugin getFAWE() -
getAWE
public static org.bukkit.plugin.Plugin getAWE()
-