java.lang.Object
ml.karmaconfigs.api.bukkit.region.wall.util.Wall
Direct Known Subclasses:
RegionWall

public abstract class Wall extends Object
Karma region wall
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract Set<org.bukkit.entity.Entity>
    getNear​(double range)
    Get nearby entities in the wall
    abstract Set<org.bukkit.entity.Entity>
    getNear​(double range, org.bukkit.entity.EntityType... filter)
    Get nearby entities in the wall
    abstract Cuboid
    Get the region that owns the walls
    abstract WallType
    Get the wall type
    abstract Set<org.bukkit.block.Block>
    Get the wall blocks

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Wall

      public Wall()
  • Method Details

    • getType

      public abstract WallType getType()
      Get the wall type
      Returns:
      the wall type
    • getRegion

      public abstract Cuboid getRegion()
      Get the region that owns the walls
      Returns:
      the region
    • getWall

      public abstract Set<org.bukkit.block.Block> getWall()
      Get the wall blocks
      Returns:
      the wall blocks
    • getNear

      public abstract Set<org.bukkit.entity.Entity> getNear(double range)
      Get nearby entities in the wall
      Parameters:
      range - the search radius
      Returns:
      the near wall entities
    • getNear

      public abstract Set<org.bukkit.entity.Entity> getNear(double range, org.bukkit.entity.EntityType... filter)
      Get nearby entities in the wall
      Parameters:
      range - the search radius
      filter - the entities to ignore
      Returns:
      the near wall entities