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