Package com.guflimc.brick.gui.spigot.api
Interface ISpigotPaginatedMenuBuilder
- All Known Implementing Classes:
SpigotPaginatedMenuBuilder
public interface ISpigotPaginatedMenuBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withBackItem
(@NotNull org.bukkit.inventory.ItemStack itemStack) withBackItemName
(@NotNull String text) withBackItemName
(@NotNull net.kyori.adventure.text.Component text) withHotbarItem
(int index, @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> consumer) withHotbarItem
(int index, @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull Function<org.bukkit.event.inventory.InventoryClickEvent, Boolean> consumer) withItems
(int size, @NotNull Function<Integer, SpigotMenuItem> supplier) withNextItem
(@NotNull org.bukkit.inventory.ItemStack itemStack) withNextItemName
(@NotNull String text) withNextItemName
(@NotNull net.kyori.adventure.text.Component text) withTitle
(@NotNull net.kyori.adventure.text.Component title)
-
Method Details
-
withTitle
-
withTitle
-
withTitle
-
withBackItem
ISpigotPaginatedMenuBuilder withBackItem(@NotNull @NotNull org.bukkit.inventory.ItemStack itemStack) -
withBackItemName
ISpigotPaginatedMenuBuilder withBackItemName(@NotNull @NotNull net.kyori.adventure.text.Component text) -
withBackItemName
-
withNextItem
ISpigotPaginatedMenuBuilder withNextItem(@NotNull @NotNull org.bukkit.inventory.ItemStack itemStack) -
withNextItemName
ISpigotPaginatedMenuBuilder withNextItemName(@NotNull @NotNull net.kyori.adventure.text.Component text) -
withNextItemName
-
withItems
ISpigotPaginatedMenuBuilder withItems(int size, @NotNull @NotNull Function<Integer, SpigotMenuItem> supplier) -
withHotbarItem
ISpigotPaginatedMenuBuilder withHotbarItem(int index, @NotNull @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> consumer) -
withHotbarItem
ISpigotPaginatedMenuBuilder withHotbarItem(int index, @NotNull @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull @NotNull Function<org.bukkit.event.inventory.InventoryClickEvent, Boolean> consumer) -
build
ISpigotMenu build()
-