Package org.mvplugins.multiverse.portals
Class WorldEditConnection
java.lang.Object
org.mvplugins.multiverse.portals.WorldEditConnection
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.LocationgetSelectionMaxPoint(org.bukkit.entity.Player player) org.bukkit.LocationgetSelectionMinPoint(org.bukkit.entity.Player player) booleanTests the connection to the WorldEdit plugin.booleanisSelectionAvailable(org.bukkit.entity.Player player)
-
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.
-