3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/Container.h"
7#include "mc/world/item/ItemStack.h"
8#include "mc/world/level/block/actor/BlockActor.h"
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 slot,
::ItemStack const& item) ;
45 virtual int getMaxStackSize()
const ;
48 virtual int getContainerSize()
const ;
54 virtual void stopOpen(
::Player& player) ;
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) ;
105 MCNAPI ::ItemStack
const&
$getItem(
int slot)
const;
130 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
Definition BlockActorDataPacket.h:19
Definition BlockActor.h:32
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition Container.h:30
Definition DataLoadHelper.h:20
Definition ItemStack.h:25
Definition LecternBlockActor.h:22
MCAPI void $_onUpdatePacket(::CompoundTag const &data, ::BlockSource ®ion)
MCAPI void setItemFromBlock(int slot, ::ItemStack const &item)
MCAPI::Container * $getContainer()
MCAPI LecternBlockActor(::BlockPos const &pos)
MCAPI int $getContainerSize() const
static MCAPI void ** $vftableForBlockActor()
MCAPI::Container const * $getContainer() const
MCAPI void $onChanged(::BlockSource ®ion)
MCAPI void $load(::ILevel &level, ::CompoundTag const &base, ::DataLoadHelper &dataLoadHelper)
MCAPI void $serverInitItemStackIds(int containerSlot, int count, ::std::function< void(int, ::ItemStack const &)> onNetIdChanged)
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
MCAPI void $setItem(int slot, ::ItemStack const &item)
MCAPI void $startOpen(::Player &)
MCAPI int $getMaxStackSize() const
MCAPI ::std::unique_ptr<::BlockActorDataPacket > $_getUpdatePacket(::BlockSource ®ion)
static MCAPI void ** $vftableForContainer()
MCAPI void $stopOpen(::Player &player)
MCAPI void * $ctor(::BlockPos const &pos)
MCAPI::ItemStack const & $getItem(int slot) const
Definition SaveContext.h:5