22 virtual ::ItemStack& use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const ;
24 virtual bool requiresInteract()
const ;
26 virtual ::std::string getInteractText(
::Player const& player)
const ;
34 MCAPI static ::PageContent _deletePage(
::ItemStackBase& book,
int index);
38 MCAPI
static void _signBookUserData(
41 ::std::optional<::std::string> filteredTitle,
43 ::std::optional<::std::string> filteredAuthor,
51 MCAPI static ::PageContent deletePage(
::ItemStack& book,
int index);
55 MCAPI
static void signBook(
58 ::std::optional<::std::string> filteredTitle,
60 ::std::optional<::std::string> filteredAuthor,
64 MCAPI
static void swapPages(
::ItemStack& book,
int page1,
int page2);
70 MCAPI ::ItemStack& $use(
::ItemStack& instance,
::Player& player, ::HandSlot handSlot)
const;
72 MCFOLD
bool $requiresInteract()
const;
74 MCAPI ::std::string $getInteractText(
::Player const& player)
const;
Definition PageContent.h:10