Package com.sk89q.worldedit.command.tool
Interface DoubleActionTraceTool
- All Known Implementing Classes:
BrushTool,DistanceWand,InspectBrush,LongRangeBuildTool,NavigationWand
Represents a trace tool that also has a secondary/primary function.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanactSecondary(Platform server, LocalConfiguration config, Player player, LocalSession session) Perform the secondary function of this tool.Methods inherited from interface com.sk89q.worldedit.command.tool.TraceTool
actPrimary
-
Method Details
-
actSecondary
boolean actSecondary(Platform server, LocalConfiguration config, Player player, LocalSession session) Perform the secondary function of this tool.- 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)
-