Package com.guflimc.brick.gui.spigot.api
Interface ISpigotMenuBuilder
- All Known Implementing Classes:
SpigotMenuBuilder
public interface ISpigotMenuBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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) withItem
(@NotNull org.bukkit.inventory.ItemStack itemStack) withItem
(@NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> consumer) withItem
(@NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull Function<org.bukkit.event.inventory.InventoryClickEvent, Boolean> consumer) withTitle
(@NotNull net.kyori.adventure.text.Component title)
-
Method Details
-
withTitle
-
withTitle
-
withItem
-
withItem
ISpigotMenuBuilder withItem(@NotNull @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> consumer) -
withItem
ISpigotMenuBuilder withItem(@NotNull @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull @NotNull Function<org.bukkit.event.inventory.InventoryClickEvent, Boolean> consumer) -
withHotbarItem
ISpigotMenuBuilder withHotbarItem(int index, @NotNull @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> consumer) -
withHotbarItem
ISpigotMenuBuilder withHotbarItem(int index, @NotNull @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull @NotNull Function<org.bukkit.event.inventory.InventoryClickEvent, Boolean> consumer) -
build
ISpigotMenu build()
-