Interface Tool

All Known Subinterfaces:
BlockTool, DoubleActionBlockTool, DoubleActionTraceTool, TraceTool
All Known Implementing Classes:
AreaPickaxe, BlockDataCyler, BlockReplacer, BrushTool, DistanceWand, FloatingTreeRemover, FloodFillTool, InspectBrush, LongRangeBuildTool, NavigationWand, QueryTool, RecursivePickaxe, SelectionWand, SinglePickaxe, StackTool, TreePlanter

public interface Tool
Represents a tool. This interface alone defines nothing. A tool also has to implement BlockTool or TraceTool.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canUse(Actor actor)
    Checks to see if the player can still be using this tool (considering permissions and such).
  • Method Details

    • canUse

      boolean canUse(Actor actor)
      Checks to see if the player can still be using this tool (considering permissions and such).
      Parameters:
      actor - the actor
      Returns:
      true if use is permitted