Class QuestBookCategory

Book Category for QuestBoard.

Constructors

Properties

Methods

Constructors

  • Parameters

    • title: string | RawMessage

      Title of the category.

    • body: string | RawMessage

      Body of the category.

    • books: QuestBook[]

      The quest books that included in category.

    • OptionaliconPath: string

      The icon of the category. It should be the path from the root of the resource pack.

      texture/gui/example_pic
      

    Returns QuestBookCategory

Properties

body: string | RawMessage

Body of the category.

books: QuestBook[]

The quest books that included in category.

iconPath?: string

The icon of the category. It should be the path from the root of the resource pack.

texture/gui/example_pic
title: string | RawMessage

Title of the category.

Methods

  • Display the category form to a player.

    Parameters

    • player: Player

    Returns void