25 ::ll::TypedStorage<1, 1, bool> mShouldFilterText;
35 virtual bool requiresInteract()
const ;
38 virtual ::std::string getInteractText(
::Player const& player)
const ;
45 virtual void appendFormattedHovertext(
49 bool const showCategory
65 MCAPI static ::std::string
const& getAuthor(
::ItemStackBase const& book);
67 MCAPI static ::PageContent getPage(
::ItemStackBase const& book,
int index);
71 MCAPI static ::std::vector<::PageContent> getPages(
::ItemStackBase const& book);
73 MCAPI static ::std::string
const& getTitle(
::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
Definition PageContent.h:10