Class WorldEditConnection

java.lang.Object
org.mvplugins.multiverse.portals.WorldEditConnection

public class WorldEditConnection extends Object
  • Method Details

    • isConnected

      public boolean isConnected()
      Tests the connection to the WorldEdit plugin.
      Returns:
      true if current connected to the WorldEdit plugin.
    • getSelectionMaxPoint

      public org.bukkit.Location getSelectionMaxPoint(org.bukkit.entity.Player player)
      Returns:
      the maximum point of the player's WorldEdit selection or null if the player has no selection.
    • getSelectionMinPoint

      public org.bukkit.Location getSelectionMinPoint(org.bukkit.entity.Player player)
      Returns:
      the minimum point of the player's WorldEdit selection or null if the player has no selection.
    • isSelectionAvailable

      public boolean isSelectionAvailable(org.bukkit.entity.Player player)
      Returns:
      true if the player has currently has a WorldEdit selection.