Class ToolAction

java.lang.Object
io.github.vampirestudios.vampirelib.api.ToolAction

public class ToolAction extends Object
  • Method Details

    • getActions

      public static Collection<ToolAction> getActions()
      Returns all registered actions. This collection can be kept around, and will update itself in response to changes to the map. See ConcurrentHashMap.values() for details.
    • get

      public static ToolAction get(String name)
      Gets or creates a new ToolAction for the given name.
    • name

      public String name()
      Returns the name of this tool action
    • toString

      public String toString()
      Overrides:
      toString in class Object