Bearbeiten

BookPageContentError Class

Extends

  • Error

The error called if page content being set on an @minecraft/server.ItemBookComponent are invalid ie. exceeding the maximum page length.

Properties

pageIndex

read-only pageIndex: number;

The index of the page requested to be modified.

Type: number

Notes:

  • This property can be read in early-execution mode.

reason

read-only reason: BookErrorReason;

The reason for the error.

Type: BookErrorReason

Notes:

  • This property can be read in early-execution mode.