Package com.sk89q.worldedit.command.tool
Class AreaPickaxe
java.lang.Object
com.sk89q.worldedit.command.tool.AreaPickaxe
A super pickaxe mode that will remove blocks in an area.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
actPrimary
(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked) Perform the primary action of this tool.boolean
Checks to see if the player can still be using this tool (considering permissions and such).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.command.tool.BlockTool
actPrimary
-
Constructor Details
-
AreaPickaxe
public AreaPickaxe(int range)
-
-
Method Details
-
canUse
Description copied from interface:Tool
Checks to see if the player can still be using this tool (considering permissions and such). -
actPrimary
public boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked) Description copied from interface:BlockTool
Perform the primary action of this tool.- Specified by:
actPrimary
in interfaceBlockTool
- Returns:
- true to cancel the original event which triggered this action (if possible)
-