Package com.sk89q.worldedit.command.tool
Class NavigationWand
java.lang.Object
com.sk89q.worldedit.command.tool.NavigationWand
- All Implemented Interfaces:
DoubleActionTraceTool
,Tool
,TraceTool
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
actPrimary
(Platform server, LocalConfiguration config, Player player, LocalSession session) Perform the primary action of this trace tool.boolean
actSecondary
(Platform server, LocalConfiguration config, Player player, LocalSession session) Perform the secondary function of this tool.boolean
Checks to see if the player can still be using this tool (considering permissions and such).
-
Constructor Details
-
NavigationWand
public NavigationWand()
-
-
Method Details
-
actSecondary
public boolean actSecondary(Platform server, LocalConfiguration config, Player player, LocalSession session) Description copied from interface:DoubleActionTraceTool
Perform the secondary function of this tool.- Specified by:
actSecondary
in interfaceDoubleActionTraceTool
- Parameters:
server
- The platformconfig
- The config instanceplayer
- The playersession
- The local session- Returns:
- true to cancel the original event which triggered this action (if possible)
-
actPrimary
public boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session) Description copied from interface:TraceTool
Perform the primary action of this trace tool.- Specified by:
actPrimary
in interfaceTraceTool
- Parameters:
server
- The platformconfig
- The config instanceplayer
- The playersession
- The local session- Returns:
- true to cancel the original event which triggered this action (if possible)
-
canUse
Description copied from interface:Tool
Checks to see if the player can still be using this tool (considering permissions and such).
-