25 ::ll::TypedStorage<1, 1, bool> mShouldFilterText;
33 virtual bool requiresInteract()
const ;
35 virtual ::std::string getInteractText(
::Player const& player)
const ;
40 virtual void appendFormattedHovertext(
44 bool const showCategory
57 MCAPI static ::std::string
const& getAuthor(
::ItemStackBase const& book);
59 MCAPI_C static ::std::optional<::std::string> getFilteredAuthor(
::ItemStack const& book);
61 MCAPI_C static ::std::optional<::std::string> getFilteredTitle(
::ItemStack const& book);
63 MCAPI static ::PageContent getPage(
::ItemStackBase const& book,
int index);
67 MCAPI_C static ::std::vector<int> getPageCountByType(
::ItemStack const& book);
69 MCAPI static ::std::vector<::PageContent> getPages(
::ItemStackBase const& book);
71 MCAPI static ::std::string
const& getTitle(
::ItemStackBase const& book);
73 MCAPI_C static ::std::string
const& getXUID(
::ItemStackBase const& book);
79 MCAPI
static int const& MAX_PAGES();
81 MCAPI
static int const& MAX_PAGE_LENGTH();
83 MCAPI
static int const& MAX_TITLE_LENGTH();
85 MCAPI static ::std::string_view
const& TAG_AUTHOR();
87 MCAPI static ::std::string_view
const& TAG_FILTERED_AUTHOR();
89 MCAPI static ::std::string_view
const& TAG_FILTERED_TITLE();
91 MCAPI static ::std::string_view
const& TAG_GENERATION();
93 MCAPI static ::std::string_view
const& TAG_PAGES();
95 MCAPI static ::std::string_view
const& TAG_PAGE_FILTERED_PHOTO_NAME();
97 MCAPI static ::std::string_view
const& TAG_PAGE_FILTERED_TEXT();
99 MCAPI static ::std::string_view
const& TAG_PAGE_PHOTO_NAME();
101 MCAPI static ::std::string_view
const& TAG_PAGE_TEXT();
103 MCAPI static ::std::string_view
const& TAG_RESOLVED();
105 MCAPI static ::std::string_view
const& TAG_TITLE();
107 MCAPI static ::std::string_view
const& TAG_XUID();
115 MCFOLD
bool $requiresInteract()
const;
117 MCAPI ::std::string $getInteractText(
::Player const& player)
const;
121 MCAPI
void $appendFormattedHovertext(
125 bool const showCategory
138 MCAPI
static void** $vftable();
Definition PageContent.h:10