Block_Lectern: {
    type: "compound";
    value: {
        book?: { type: "compound"; value: object } & Item_ItemStack;
        hasBook: { type: "byte"; value: number };
        page?: { type: "int"; value: number };
        totalPages?: { type: "int"; value: number };
    };
}

Additional fields for lectern.

Type declaration

  • type: "compound"
  • value: {
        book?: { type: "compound"; value: object } & Item_ItemStack;
        hasBook: { type: "byte"; value: number };
        page?: { type: "int"; value: number };
        totalPages?: { type: "int"; value: number };
    }
    • Optionalbook?: { type: "compound"; value: object } & Item_ItemStack

      (May not exist) The book item currently on the lectern.

    • hasBook: { type: "byte"; value: number }

      1 or 0 (true/false) - (may not exist) true if it has a book.

    • Optionalpage?: { type: "int"; value: number }

      (May not exist) The page the book is currently on, starting from 0.

    • OptionaltotalPages?: { type: "int"; value: number }

      (May not exist) The total pages the book has.