Class ConsoleCommandAction
java.lang.Object
de.oliver.fancynpcs.api.actions.NpcAction
de.oliver.fancynpcs.api.actions.types.ConsoleCommandAction
Represents a console command action that can be executed for an NPC.
-
Nested Class Summary
Nested classes/interfaces inherited from class NpcAction
NpcAction.NpcActionData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(@NotNull ActionExecutionContext context, String value) Executes the console command action for an NPC.Methods inherited from class NpcAction
getName, requiresValue
-
Constructor Details
-
ConsoleCommandAction
public ConsoleCommandAction()
-
-
Method Details
-
execute
Executes the console command action for an NPC.
-