Book Builder

Creates BookBuilder

public BookBuilder(ItemStack book)

Set title

public BookBuilder title(String title)

Set author

public BookBuilder author(String author)

Set pages from a simple string

public BookBuilder pagesRaw(String... pages)

Set pages from a list of string

public BookBuilder pagesRaw(List<String> pages)

Set pages from a string array or list of string arrays

public BookBuilder pages(BaseComponent[]... pages)
public BookBuilder pages(List<BaseComponent[]## pages)

Set generation (ORIGINAL, COPY_OF_ORIGINAL, COPY_OF_COPY, TATTERED)

public BookBuilder generation(BookMeta.Generation generation)

Return ItemStack

public ItemStack build()

Last updated