All Implemented Interfaces:
Sizeable

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

    • ChestGUI

      @Deprecated(forRemoval=true) public ChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, boolean removeItems, int minHeight, int maxHeight)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
      removeItems - Whether to remove loose items on close. The first player that closes the gui gets the items