Class ChestGUI
java.lang.Object
de.placeblock.betterinventories.gui.GUI
de.placeblock.betterinventories.gui.impl.BaseCanvasGUI<P>
de.placeblock.betterinventories.gui.impl.BaseChestGUI<SimpleGUIPane>
de.placeblock.betterinventories.gui.impl.ChestGUI
- All Implemented Interfaces:
Sizeable,org.bukkit.event.Listener
-
Field Summary
Fields inherited from class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
canvas -
Constructor Summary
ConstructorsConstructorDescriptionChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, int height) Creates a new ChestGUIChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, int height, boolean registerDefaultHandlers) Creates a new ChestGUIChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, int minHeight, int maxHeight) Creates a new ChestGUIChestGUI(org.bukkit.plugin.Plugin plugin, net.kyori.adventure.text.TextComponent title, int minHeight, int maxHeight, boolean registerDefaultHandlers) Creates a new ChestGUI -
Method Summary
Methods inherited from class de.placeblock.betterinventories.gui.impl.BaseChestGUI
getMaxSize, getMinSize, updateMethods inherited from class de.placeblock.betterinventories.gui.impl.BaseCanvasGUI
createBukkitInventory, getCanvas, getClickedSection, getSize, getSlots, renderContent, setCanvasMethods inherited from class de.placeblock.betterinventories.gui.GUI
getPlayers, getView, onClose, onInventoryClick, onInventoryClose, onInventoryDrag, registerInteractionHandler, reloadViews, render, showPlayer, unregisterInteractionHandler, updateViews
-
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 plugintitle- The title of the GUIheight- 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 plugintitle- The title of the GUIheight- The height of the GUIregisterDefaultHandlers- 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 plugintitle- The title of the GUIminHeight- The minimum height of the GUImaxHeight- 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 plugintitle- The title of the GUIminHeight- The minimum height of the GUImaxHeight- The maximum height of the GUIregisterDefaultHandlers- Whether to register default-handlers
-