Klasse PlayerCommandAction

java.lang.Object
de.oliver.fancynpcs.api.actions.NpcAction
de.oliver.fancynpcs.api.actions.types.PlayerCommandAction

public class PlayerCommandAction extends NpcAction
Represents a player command action that can be executed when triggered by an NPC interaction.
  • Konstruktordetails

    • PlayerCommandAction

      public PlayerCommandAction()
  • Methodendetails

    • execute

      public void execute(@NotNull @NotNull ActionExecutionContext context, String value)
      Executes a player command action when triggered by an NPC interaction.
      Angegeben von:
      execute in Klasse NpcAction
      Parameter:
      context - The context in which the action is being executed.
      value - The value associated with the action. Can be null if no value is required.