Interface TraceTool

All Superinterfaces:
Tool
All Known Subinterfaces:
DoubleActionTraceTool
All Known Implementing Classes:
BrushTool, DistanceWand, LongRangeBuildTool, NavigationWand

public interface TraceTool extends Tool
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session)
    Perform the primary action of this trace tool.

    Methods inherited from interface com.sk89q.worldedit.command.tool.Tool

    canUse
  • Method Details

    • actPrimary

      boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session)
      Perform the primary action of this trace tool.
      Parameters:
      server - The platform
      config - The config instance
      player - The player
      session - The local session
      Returns:
      true to cancel the original event which triggered this action (if possible)