26 ::ll::TypedStorage<4, 4, int> mPage;
27 ::ll::TypedStorage<4, 4, int> mTotalPages;
28 ::ll::TypedStorage<8, 152, ::ItemStack> mBook;
39 virtual ::ItemStack
const& getItem(
int slot)
const ;
42 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
45 virtual int getMaxStackSize()
const ;
48 virtual int getContainerSize()
const ;
51 virtual void startOpen(
::Actor&) ;
54 virtual void stopOpen(
::Actor& actor) ;
57 virtual ::Container* getContainer() ;
60 virtual ::Container
const* getContainer()
const ;
72 virtual void serverInitItemStackIds(
75 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
79 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
93 MCAPI
void setItemFromBlock(
int slot,
::ItemStack const& item);
105 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
107 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
109 MCFOLD
int $getMaxStackSize()
const;
111 MCFOLD
int $getContainerSize()
const;
113 MCFOLD
void $startOpen(
::Actor&);
115 MCFOLD
void $stopOpen(
::Actor& actor);
117 MCFOLD ::Container* $getContainer();
119 MCFOLD ::Container
const* $getContainer()
const;
127 MCAPI
void $serverInitItemStackIds(
130 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
133 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
Definition SaveContext.h:5