Class Cuboid

java.lang.Object
com.andrei1058.bedwars.api.region.Cuboid
All Implemented Interfaces:
Region

public class Cuboid extends Object implements Region
  • Constructor Details

    • Cuboid

      public Cuboid(org.bukkit.Location loc, int radius, boolean protect)
  • Method Details

    • isInRegion

      public boolean isInRegion(org.bukkit.Location l)
      Description copied from interface: Region
      Check if location is in region.
      Specified by:
      isInRegion in interface Region
    • isProtected

      public boolean isProtected()
      Description copied from interface: Region
      Check if is a protected region.
      Specified by:
      isProtected in interface Region
    • setMaxY

      public void setMaxY(int maxY)
    • setMinY

      public void setMinY(int minY)
    • setProtect

      public void setProtect(boolean protect)
    • getMaxY

      public int getMaxY()
    • getMinY

      public int getMinY()