⭐
StarAPI Documentation
  • ⭐API Information
    • ❔About Our API's
    • ⬇️Installing Our API
  • 🌟StarAPI (Spigot/Paper)
    • 📂Abilities
      • ⏳Transmition
      • 🤯Implosion
      • 🏹MultiShot
    • 📂Builders
      • 👕Armor Builder
      • 📊Bossbar Builder
      • ☄️Command Builder
      • ⚔️Item Builder
      • 🧟‍♂️Mob Builder
      • 💯Scoreboard Builder
      • 🔗Webhook Builder
      • 🔨Message Builder
      • 🏗️Actionbar Builder
    • 📂Files
      • 📃Create Files
      • 📁Create Folders
      • 📖Read Files
      • 🖊️Write Files
    • 📂Inventory Utilities
      • 💎Animated Items
      • 📖Book Content
      • 📔Book GUI
      • 🎞️Filler
      • 🪁Inventory Items
      • 📝Inventory Name
      • 💀Inventory Skulls
    • 📂Message Utilities
      • 🤖Auto Responses
      • 🎨Message Colors
    • 📂Recipes
      • ⚒️Crafting Recipes
      • 🧑‍🍳Furnace Recipes
    • 📂Timers
      • 🕙Active Timers
      • ❌Cancel Timers
      • 🕙Delayed Timers
      • 🕐Create Timers
    • 📂Misc
      • 💀Give Skulls
      • 📈Progress Bars
      • ⬛Block Placer
Powered by GitBook
On this page
  • Overview
  • Methods
  • Notes
  1. StarAPI (Spigot/Paper)
  2. Inventory Utilities

Book GUI

Create book GUIs with ease

Overview

The BookGUI class provides a utility method for creating a graphical user interface (GUI) representation of a book in Minecraft Bukkit server environments. It simplifies the process of generating a book ItemStack with specified metadata such as title, author, and total pages.

Methods

createBookGUI

public static ItemStack createBookGUI(String title, String author, int totalPages)

Creates a book ItemStack with the specified title, author, and total number of pages.

Parameters

  • title: The title of the book.

  • author: The author of the book.

  • totalPages: The total number of pages in the book.

Returns

An ItemStack representing the book GUI with the provided properties.

Notes

  • The BookGUI class simplifies the process of creating books in Minecraft Bukkit server environments.

  • Developers can use the createBookGUI method to generate a book ItemStack with custom metadata, such as title and author, and a specified number of pages.

  • This can be useful for creating interactive in-game books, manuals, or guides that provide information or instructions to players.

PreviousBook ContentNextFiller

Last updated 1 year ago

🌟
📂
📔