27 ::ll::TypedStorage<8, 152, ::ItemStack> mRecord;
28 ::ll::TypedStorage<4, 4, int> mCount;
29 ::ll::TypedStorage<1, 1, bool> mRecordingFinished;
30 ::ll::TypedStorage<4, 4, int> mTicksPlaying;
31 ::ll::TypedStorage<1, 1, bool> mPostBlockChangeGameEvent;
32 ::ll::TypedStorage<8, 304, ::std::optional<::ServerSoundInstance>> mServerSoundInstance;
44 virtual int getContainerSize()
const ;
46 virtual int getMaxStackSize()
const ;
48 virtual bool canPushInItem(
int,
int,
::ItemStack const& item)
const ;
50 virtual bool canPullOutItem(
int,
int,
::ItemStack const&)
const ;
52 virtual ::ItemStack
const& getItem(
int)
const ;
54 virtual void setItem(
int slot,
::ItemStack const& item) ;
56 virtual void startOpen(
::Actor& actor) ;
58 virtual void stopOpen(
::Actor& actor) ;
60 virtual ::Container* getContainer() ;
62 virtual ::Container
const* getContainer()
const ;
66 virtual void serverInitItemStackIds(
69 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
72 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
82 MCAPI
void setRecord(
::ItemStack const& record,
bool startPlaying);
98 MCFOLD
int $getContainerSize()
const;
100 MCFOLD
int $getMaxStackSize()
const;
102 MCAPI
bool $canPushInItem(
int,
int,
::ItemStack const& item)
const;
104 MCAPI
bool $canPullOutItem(
int,
int,
::ItemStack const&)
const;
107 MCFOLD ::ItemStack
const& $getItem(
int)
const;
109 MCAPI ::ItemStack
const& $getItem(
int)
const;
112 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
114 MCFOLD
void $startOpen(
::Actor& actor);
116 MCFOLD
void $stopOpen(
::Actor& actor);
118 MCFOLD ::Container* $getContainer();
120 MCFOLD ::Container
const* $getContainer()
const;
125 $serverInitItemStackIds(
int containerSlot,
int, ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged);
127 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
Definition SaveContext.h:5