Class ToolAction
java.lang.Object
io.github.vampirestudios.vampirelib.api.ToolAction
-
Method Summary
Modifier and TypeMethodDescriptionstatic ToolActionGets or creates a new ToolAction for the given name.static Collection<ToolAction>Returns all registered actions.name()Returns the name of this tool actiontoString()
-
Method Details
-
getActions
Returns all registered actions. This collection can be kept around, and will update itself in response to changes to the map. SeeConcurrentHashMap.values()for details. -
get
Gets or creates a new ToolAction for the given name. -
name
Returns the name of this tool action -
toString
-