Package me.despical.inventoryframework
Class GuiBuilder
java.lang.Object
me.despical.inventoryframework.GuiBuilder
- Author:
- Despical
Created at 30.07.2022
-
Constructor Summary
ConstructorsConstructorDescriptionGuiBuilder(@NotNull GuiBuilder guiBuilder) GuiBuilder(@NotNull org.bukkit.plugin.Plugin plugin) GuiBuilder(@NotNull org.bukkit.plugin.Plugin plugin, int rows) GuiBuilder(@NotNull org.bukkit.plugin.Plugin plugin, int rows, @NotNull String title) -
Method Summary
Modifier and TypeMethodDescriptionbottomClick(@NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> onBottomClick) build()globalClick(@NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> onGlobalClick) onOutsideClick(@NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> onOutsideClick) rows(int rows) show(@NotNull org.bukkit.entity.Player player)
-
Constructor Details
-
GuiBuilder
-
GuiBuilder
public GuiBuilder(@NotNull @NotNull org.bukkit.plugin.Plugin plugin) -
GuiBuilder
public GuiBuilder(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, int rows) -
GuiBuilder
public GuiBuilder(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, int rows, @NotNull @NotNull String title)
-
-
Method Details
-
rows
-
title
-
pane
-
pane
-
topClick
public GuiBuilder topClick(@NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> onTopClick) -
bottomClick
public GuiBuilder bottomClick(@NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> onBottomClick) -
globalClick
public GuiBuilder globalClick(@NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> onGlobalClick) -
onOutsideClick
public GuiBuilder onOutsideClick(@NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> onOutsideClick) -
drag
public GuiBuilder drag(@NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryDragEvent> onDrag) -
close
public GuiBuilder close(@NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryCloseEvent> onClose) -
build
-
show
-