Interface DynamicTitle

All Known Implementing Classes:
DynamicTitle.DynamicTitleImpl, DynamicTitle.InteractionDynamicTitle, DynamicTitle.PaginatedDynamicTitle

public interface DynamicTitle
Interface for handling dynamic titles in modals Allows for titles to be updated based on the current state of the modal
  • Method Details

    • getDynamicTitle

      @NotNull @NotNull net.kyori.adventure.text.Component getDynamicTitle()
      Get the current dynamic title based on modal state
      Returns:
      Current component title
    • update

      @NotNull @NotNull net.kyori.adventure.text.Component update(@NotNull @NotNull Object state)
      Update the dynamic title with a new state object
      Parameters:
      state - Object containing state information for the update
      Returns:
      Updated component title