Interface IntegrationManager
public interface IntegrationManager
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancheckRequirements(org.bukkit.event.player.PlayerMoveEvent event, String region) booleanChecks whether this region exists within the world specifiedgetAllRegionNames(org.bukkit.World world) Gets an immutable set of all region names in the specified world.@NotNull List<org.bukkit.Location>getBoundingBoxPoints(org.bukkit.Location regionLocation, @Nullable String regionId) getPrioritisedRegion(org.bukkit.Location location) Gets the highest priority region at given locationvoidhandleMove(org.bukkit.event.player.PlayerMoveEvent pme) Handles a move event to perform related region checks.booleanisInRegion(org.bukkit.Location location) Checks if the specified location is within a region.
-
Method Details
-
isInRegion
boolean isInRegion(org.bukkit.Location location) Checks if the specified location is within a region.- Parameters:
location- location to check- Returns:
- true if location is within a region, false otherwise
-
handleMove
void handleMove(org.bukkit.event.player.PlayerMoveEvent pme) Handles a move event to perform related region checks.- Parameters:
pme- PlayerMoveEvent
-
getPrioritisedRegion
Gets the highest priority region at given location- Parameters:
location- location to check- Returns:
- highest prioritised region
-
exists
Checks whether this region exists within the world specified- Parameters:
location-Worldto checkregion- the region id- Returns:
- true if region exists in world, false otherwise
-
getAllRegionNames
Gets an immutable set of all region names in the specified world.- Parameters:
world-Worldto check- Returns:
- set of all region names
-
checkRequirements
-
getBoundingBoxPoints
-