public interface Selection
Modifier and Type | Method and Description |
---|---|
java.util.List<org.bukkit.block.Dispenser> |
getDispensers(Tool tool)
Get all the dispensers between both locations.
|
boolean |
isInside()
Check whether or not the player is between both locations.
|
boolean |
isReady()
Check whether or not both locations are set.
|
void |
remove()
Remove the selection from cache.
|
void |
setLeftClick(org.bukkit.Location leftClick)
Set the left-click location of the selection.
|
void |
setRightClick(org.bukkit.Location rightClick)
Set the right-click location of the selection.
|
void setRightClick(org.bukkit.Location rightClick)
rightClick
- The right-click location.void setLeftClick(org.bukkit.Location leftClick)
leftClick
- The right-click location.boolean isReady()
boolean isInside()
java.util.List<org.bukkit.block.Dispenser> getDispensers(Tool tool)
tool
- The tool that was used.void remove()