Class SpigotConfirmationMenuBuilder
java.lang.Object
com.guflimc.brick.gui.spigot.builder.SpigotConfirmationMenuBuilder
- All Implemented Interfaces:
ISpigotConfirmationMenuBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ISpigotMenu
build()
withAccept
(@NotNull Runnable action) withAcceptItem
(@NotNull org.bukkit.inventory.ItemStack item) withAcceptItemName
(@NotNull String text) withAcceptItemName
(@NotNull net.kyori.adventure.text.Component text) withDenyItem
(@NotNull org.bukkit.inventory.ItemStack item) withDenyItemName
(@NotNull String text) withDenyItemName
(@NotNull net.kyori.adventure.text.Component text) withDisplay
(@NotNull org.bukkit.inventory.ItemStack item) withTitle
(@NotNull net.kyori.adventure.text.Component title)
-
Constructor Details
-
Method Details
-
withDisplay
public final SpigotConfirmationMenuBuilder withDisplay(@NotNull @NotNull org.bukkit.inventory.ItemStack item) - Specified by:
withDisplay
in interfaceISpigotConfirmationMenuBuilder
-
withAcceptItem
public final SpigotConfirmationMenuBuilder withAcceptItem(@NotNull @NotNull org.bukkit.inventory.ItemStack item) - Specified by:
withAcceptItem
in interfaceISpigotConfirmationMenuBuilder
-
withAcceptItemName
public final SpigotConfirmationMenuBuilder withAcceptItemName(@NotNull @NotNull net.kyori.adventure.text.Component text) - Specified by:
withAcceptItemName
in interfaceISpigotConfirmationMenuBuilder
-
withAcceptItemName
- Specified by:
withAcceptItemName
in interfaceISpigotConfirmationMenuBuilder
-
withDenyItem
public final SpigotConfirmationMenuBuilder withDenyItem(@NotNull @NotNull org.bukkit.inventory.ItemStack item) - Specified by:
withDenyItem
in interfaceISpigotConfirmationMenuBuilder
-
withDenyItemName
public final SpigotConfirmationMenuBuilder withDenyItemName(@NotNull @NotNull net.kyori.adventure.text.Component text) - Specified by:
withDenyItemName
in interfaceISpigotConfirmationMenuBuilder
-
withDenyItemName
- Specified by:
withDenyItemName
in interfaceISpigotConfirmationMenuBuilder
-
withTitle
- Specified by:
withTitle
in interfaceISpigotConfirmationMenuBuilder
-
withTitle
public final SpigotConfirmationMenuBuilder withTitle(@NotNull @NotNull net.kyori.adventure.text.Component title) - Specified by:
withTitle
in interfaceISpigotConfirmationMenuBuilder
-
withAccept
- Specified by:
withAccept
in interfaceISpigotConfirmationMenuBuilder
-
withDeny
- Specified by:
withDeny
in interfaceISpigotConfirmationMenuBuilder
-
build
- Specified by:
build
in interfaceISpigotConfirmationMenuBuilder
-