Klasse MessageAction

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

public class MessageAction extends NpcAction
The MessageAction class represents an action that sends a message to the player when executed by an NPC.
  • Konstruktordetails

    • MessageAction

      public MessageAction()
  • Methodendetails

    • execute

      public void execute(@NotNull @NotNull ActionExecutionContext context, String value)
      Executes the action associated with this NpcAction.
      Angegeben von:
      execute in Klasse NpcAction
      Parameter:
      context - The context in which the action is being executed.
      value - The value passed to the action.