Class AreaPickaxe
java.lang.Object
com.sk89q.worldedit.command.tool.AreaPickaxe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanactPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked) Perform the primary action of this tool.booleanChecks to see if the player can still be using this tool (considering permissions and such).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BlockTool
actPrimary
-
Constructor Details
-
AreaPickaxe
public AreaPickaxe(int range)
-
-
Method Details
-
canUse
-
actPrimary
public boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked) Description copied from interface:BlockToolPerform the primary action of this tool.- Specified by:
actPrimaryin interfaceBlockTool- Returns:
- true to cancel the original event which triggered this action (if possible)
-