Class TopCorner

java.lang.Object
ml.karmaconfigs.api.bukkit.region.corner.util.Corner
ml.karmaconfigs.api.bukkit.region.corner.TopCorner

public class TopCorner extends Corner
Top corners
  • Constructor Details

    • TopCorner

      public TopCorner(Cuboid r)
      Initialize the rop corner
      Parameters:
      r - the region
  • Method Details

    • getRegion

      public Cuboid getRegion()
      Get the region that owns the corners
      Specified by:
      getRegion in class Corner
      Returns:
      the region
    • getCorner

      public org.bukkit.Location getCorner(CornerType type)
      Get a corner
      Specified by:
      getCorner in class Corner
      Parameters:
      type - the corner type
      Returns:
      the corner
    • corners

      public org.bukkit.Location[] corners()
      Get all the corners
      Specified by:
      corners in class Corner
      Returns:
      all the corners