Class SpigotMenuRowBuilder
java.lang.Object
com.guflimc.brick.gui.api.builder.MenuRowBuilder<SpigotMenuItem>
com.guflimc.brick.gui.spigot.builder.SpigotMenuRowBuilder
- All Implemented Interfaces:
ISpigotMenuRowBuilder
public class SpigotMenuRowBuilder
extends MenuRowBuilder<SpigotMenuItem>
implements ISpigotMenuRowBuilder
-
Field Summary
Fields inherited from class com.guflimc.brick.gui.api.builder.MenuRowBuilder
items, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fill
(ISpigotMenu menu, int row) 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)
-
Constructor Details
-
SpigotMenuRowBuilder
public SpigotMenuRowBuilder()
-
-
Method Details
-
withItem
- Specified by:
withItem
in interfaceISpigotMenuRowBuilder
-
withItem
public SpigotMenuRowBuilder withItem(@NotNull @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull @NotNull Consumer<org.bukkit.event.inventory.InventoryClickEvent> consumer) - Specified by:
withItem
in interfaceISpigotMenuRowBuilder
-
withItem
public SpigotMenuRowBuilder withItem(@NotNull @NotNull org.bukkit.inventory.ItemStack itemStack, @NotNull @NotNull Function<org.bukkit.event.inventory.InventoryClickEvent, Boolean> consumer) - Specified by:
withItem
in interfaceISpigotMenuRowBuilder
-
fill
- Specified by:
fill
in interfaceISpigotMenuRowBuilder
-