public abstract class RegionSelection extends Object implements Selection
| Constructor and Description |
|---|
RegionSelection(org.bukkit.World world) |
RegionSelection(org.bukkit.World world,
RegionSelector selector,
Region region) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(org.bukkit.Location pt)
Returns true based on whether the region contains the point,
|
int |
getArea()
Get the number of blocks in the region.
|
int |
getHeight()
Get Y-size.
|
int |
getLength()
Get Z-size.
|
org.bukkit.Location |
getMaximumPoint()
Get the upper point of a region.
|
org.bukkit.Location |
getMinimumPoint()
Get the lower point of a region.
|
Vector |
getNativeMaximumPoint()
Get the upper point of a region.
|
Vector |
getNativeMinimumPoint()
Get the lower point of a region.
|
protected Region |
getRegion() |
RegionSelector |
getRegionSelector()
Get the region selector.
|
int |
getWidth()
Get X-size.
|
org.bukkit.World |
getWorld()
Get the world.
|
protected void |
setRegion(Region region) |
protected void |
setRegionSelector(RegionSelector selector) |
public RegionSelection(org.bukkit.World world)
public RegionSelection(org.bukkit.World world,
RegionSelector selector,
Region region)
protected Region getRegion()
protected void setRegion(Region region)
public RegionSelector getRegionSelector()
SelectiongetRegionSelector in interface Selectionprotected void setRegionSelector(RegionSelector selector)
public org.bukkit.Location getMinimumPoint()
SelectiongetMinimumPoint in interface Selectionpublic Vector getNativeMinimumPoint()
SelectiongetNativeMinimumPoint in interface Selectionpublic org.bukkit.Location getMaximumPoint()
SelectiongetMaximumPoint in interface Selectionpublic Vector getNativeMaximumPoint()
SelectiongetNativeMaximumPoint in interface Selectionpublic org.bukkit.World getWorld()
Selectionpublic int getArea()
Selectionpublic int getWidth()
Selectionpublic int getHeight()
Selectionpublic int getLength()
SelectionCopyright © 2010-2014. All Rights Reserved.