Interface ModalContainer

All Known Implementing Classes:
ModalContainer.Chest, ModalContainer.Typed

public interface ModalContainer
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull org.bukkit.inventory.Inventory
    createInventory(@NotNull org.bukkit.inventory.InventoryHolder inventoryHolder)
     
    default @Nullable DynamicTitle
    Get the dynamic title handler if one exists
    default boolean
    Check if this container uses a dynamic title
    int
     
    @NotNull ModalType
     
    int
     
    @NotNull net.kyori.adventure.text.Component
     
    void
    title(@NotNull net.kyori.adventure.text.Component title)
     
  • Method Details

    • title

      @NotNull @NotNull net.kyori.adventure.text.Component title()
    • hasDynamicTitle

      default boolean hasDynamicTitle()
      Check if this container uses a dynamic title
      Returns:
      true if this container has a dynamic title
    • getDynamicTitle

      @Nullable default @Nullable DynamicTitle getDynamicTitle()
      Get the dynamic title handler if one exists
      Returns:
      DynamicTitle handler or null if not using dynamic titles
    • title

      void title(@NotNull @NotNull net.kyori.adventure.text.Component title)
    • createInventory

      @NotNull @NotNull org.bukkit.inventory.Inventory createInventory(@NotNull @NotNull org.bukkit.inventory.InventoryHolder inventoryHolder)
    • modalType

      @NotNull @NotNull ModalType modalType()
    • inventorySize

      int inventorySize()
    • rows

      int rows()