Interface Region

All Known Implementing Classes:
Cuboid

public interface Region
The Region interface represents a region in a game world. Implementations of this interface provide methods for checking if a location is within the region and determining if the region is protected.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isInRegion(org.bukkit.Location location)
    Checks if a given location is within the region.
    boolean
    Checks if the region is protected.
  • Method Details

    • isInRegion

      boolean isInRegion(org.bukkit.Location location)
      Checks if a given location is within the region.
      Parameters:
      location - The location to check.
      Returns:
      true if the location is within the region, false otherwise.
    • isProtected

      boolean isProtected()
      Checks if the region is protected.
      Returns:
      true if the region is protected, false otherwise.