Class Wall
java.lang.Object
ml.karmaconfigs.api.bukkit.region.wall.util.Wall
- Direct Known Subclasses:
RegionWall
Karma region wall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Set<org.bukkit.entity.Entity>getNear(double range)Get nearby entities in the wallabstract Set<org.bukkit.entity.Entity>getNear(double range, org.bukkit.entity.EntityType... filter)Get nearby entities in the wallabstract CuboidGet the region that owns the wallsabstract WallTypegetType()Get the wall typeabstract Set<org.bukkit.block.Block>getWall()Get the wall blocks
-
Constructor Details
-
Wall
public Wall()
-
-
Method Details
-
getType
Get the wall type- Returns:
- the wall type
-
getRegion
Get the region that owns the walls- Returns:
- the region
-
getWall
Get the wall blocks- Returns:
- the wall blocks
-
getNear
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 radiusfilter- the entities to ignore- Returns:
- the near wall entities
-