All Implemented Interfaces:
Sizeable, org.bukkit.event.Listener

public class ChestGUI extends BaseChestGUI<SimpleGUIPane>
Implementation of BaseChestGUI using SimpleGUIPane that auto resizes
Builder: ChestGUIBuilder
  • Constructor Details

    • ChestGUI

      public ChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, int height)
      Creates a new ChestGUI
      Parameters:
      plugin - The plugin
      title - The title of the GUI
      height - The height of the GUI
    • ChestGUI

      public ChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, int height, boolean registerDefaultHandlers)
      Creates a new ChestGUI
      Parameters:
      plugin - The plugin
      title - The title of the GUI
      height - The height of the GUI
      registerDefaultHandlers - Whether to register default-handlers
    • ChestGUI

      public ChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, int minHeight, int maxHeight)
      Creates a new ChestGUI
      Parameters:
      plugin - The plugin
      title - The title of the GUI
      minHeight - The minimum height of the GUI
      maxHeight - The maximum height of the GUI
    • ChestGUI

      public ChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, int minHeight, int maxHeight, boolean registerDefaultHandlers)
      Creates a new ChestGUI
      Parameters:
      plugin - The plugin
      title - The title of the GUI
      minHeight - The minimum height of the GUI
      maxHeight - The maximum height of the GUI
      registerDefaultHandlers - Whether to register default-handlers