Enum Class PaperSupport

java.lang.Object
java.lang.Enum<PaperSupport>
com.fastasyncworldedit.bukkit.util.PaperSupport
All Implemented Interfaces:
Serializable, Comparable<PaperSupport>, Constable

@Internal public enum PaperSupport extends Enum<PaperSupport>
Not for external use. May change at any point.
  • Field Details

    • PAPER

      public static final boolean PAPER
  • Method Details

    • values

      public static PaperSupport[] 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 PaperSupport 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
    • isPaper

      public static boolean isPaper()
    • teleportAsync

      public static CompletableFuture<Boolean> teleportAsync(Entity entity, Location location)
    • teleportAsync

      public static CompletableFuture<Boolean> teleportAsync(Entity entity, Location location, PlayerTeleportEvent.TeleportCause cause)
    • getChunkAtAsync

      public static CompletableFuture<Chunk> getChunkAtAsync(Location location)
    • getChunkAtAsync

      public static CompletableFuture<Chunk> getChunkAtAsync(World world, int cx, int cz, boolean gen)
    • getChunkAtAsync

      public static CompletableFuture<Chunk> getChunkAtAsync(World world, int cx, int cz, boolean gen, boolean urgent)