Class BookBuilder

java.lang.Object
com.guflimc.brick.gui.spigot.item.AbstractItemStackBuilder<BookBuilder>
com.guflimc.brick.gui.spigot.item.specific.BookBuilder

public class BookBuilder extends AbstractItemStackBuilder<BookBuilder>
  • Constructor Details

    • BookBuilder

      protected BookBuilder(org.bukkit.inventory.ItemStack itemStack)
  • Method Details

    • create

      public static BookBuilder create()
    • withAuthor

      public BookBuilder withAuthor(String author)
    • withAuthor

      public BookBuilder withAuthor(net.kyori.adventure.text.Component author)
    • withTitle

      public BookBuilder withTitle(String title)
    • withTitle

      public BookBuilder withTitle(net.kyori.adventure.text.Component title)
    • withTitle

      public BookBuilder withTitle(String... pages)
    • withPages

      public BookBuilder withPages(net.kyori.adventure.text.Component... pages)
    • withPages

      public BookBuilder withPages(List<net.kyori.adventure.text.Component> pages)
    • adventure

      public net.kyori.adventure.inventory.Book adventure()