Package at.hugob.plugin.library.gui
Class GUIData
java.lang.Object
at.hugob.plugin.library.gui.GUIData
Holds all data a GUI may need to function
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable org.bukkit.inventory.ItemStackThe Background item for the GUIfinal intThe number of Rows the GUI should havefinal intThe number of Slots the GUI should havefinal @NotNull net.kyori.adventure.text.ComponentThe title of the GUI -
Constructor Summary
ConstructorsConstructorDescriptionGUIData(@NotNull net.kyori.adventure.text.Component title, int rows, @Nullable org.bukkit.inventory.ItemStack fillerItem) Creates the basic GUIData needed for a GUIHandler to function -
Method Summary
-
Field Details
-
title
@NotNull public final @NotNull net.kyori.adventure.text.Component titleThe title of the GUI -
rows
public final int rowsThe number of Rows the GUI should have -
size
public final int sizeThe number of Slots the GUI should have -
fillerItem
@Nullable public final @Nullable org.bukkit.inventory.ItemStack fillerItemThe Background item for the GUI
-
-
Constructor Details
-
GUIData
public GUIData(@NotNull @NotNull net.kyori.adventure.text.Component title, int rows, @Nullable @Nullable org.bukkit.inventory.ItemStack fillerItem) Creates the basic GUIData needed for a GUIHandler to function- Parameters:
title- The tile for the GUIrows- The amount of rows the GUI should havefillerItem- The Background Filler item, null to leave empty
-