Interface DialogueCallback

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DialogueCallback
Callback invoked at specific points during a Dialogue or Page.

Implementations can perform arbitrary logic for the given player.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.bukkit.entity.Player player)
    Executes the callback for the given player.
  • Method Details

    • execute

      void execute(org.bukkit.entity.Player player)
      Executes the callback for the given player.
      Parameters:
      player - player associated with the dialogue event