26 ::ll::TypedStorage<1, 1, bool> mShouldFilterText;
32 virtual ::ItemStack& use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const ;
34 virtual bool requiresInteract()
const ;
36 virtual ::std::string getInteractText(
::Player const& player)
const ;
41 virtual void appendFormattedHovertext(
45 bool const showCategory
48 virtual ::Bedrock::Safety::RedactableString getRedactedCustomName(
::ItemStackBase const& stack)
const ;
60 MCAPI static ::std::string
const& getAuthor(
::ItemStackBase const& book);
63 MCAPI static ::std::optional<::std::string> getFilteredAuthor(
::ItemStack const& book);
65 MCAPI static ::std::optional<::std::string> getFilteredTitle(
::ItemStack const& book);
68 MCAPI static ::PageContent getPage(
::ItemStackBase const& book,
int index);
73 MCAPI static ::std::vector<int> getPageCountByType(
::ItemStack const& book);
76 MCAPI static ::std::vector<::PageContent> getPages(
::ItemStackBase const& book);
78 MCAPI static ::std::string
const& getTitle(
::ItemStackBase const& book);
88 MCAPI static ::std::string_view
const& TAG_AUTHOR();
90 MCAPI static ::std::string_view
const& TAG_FILTERED_AUTHOR();
92 MCAPI static ::std::string_view
const& TAG_FILTERED_TITLE();
94 MCAPI static ::std::string_view
const& TAG_GENERATION();
96 MCAPI static ::std::string_view
const& TAG_PAGES();
98 MCAPI static ::std::string_view
const& TAG_PAGE_FILTERED_PHOTO_NAME();
100 MCAPI static ::std::string_view
const& TAG_PAGE_FILTERED_TEXT();
102 MCAPI static ::std::string_view
const& TAG_PAGE_PHOTO_NAME();
104 MCAPI static ::std::string_view
const& TAG_PAGE_TEXT();
106 MCAPI static ::std::string_view
const& TAG_TITLE();
109 MCAPI static ::std::string_view
const& TAG_XUID();
116 MCAPI ::ItemStack& $use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const;
118 MCFOLD
bool $requiresInteract()
const;
120 MCAPI ::std::string $getInteractText(
::Player const& player)
const;
124 MCAPI
void $appendFormattedHovertext(
128 bool const showCategory
131 MCAPI ::Bedrock::Safety::RedactableString $getRedactedCustomName(
::ItemStackBase const& stack)
const;
Definition PageContent.h:10