Class PlaySoundAction

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

public class PlaySoundAction extends NpcAction
  • Constructor Details

    • PlaySoundAction

      public PlaySoundAction()
  • Method Details

    • execute

      public void execute(@NotNull @NotNull ActionExecutionContext context, String value)
      Description copied from class: NpcAction
      Executes the action associated with this NpcAction.
      Specified by:
      execute in class NpcAction
      Parameters:
      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.