28 ::ll::TypedStorage<8, 152, ::ItemStack> mRecord;
29 ::ll::TypedStorage<4, 4, int> mCount;
30 ::ll::TypedStorage<1, 1, bool> mRecordingFinished;
31 ::ll::TypedStorage<4, 4, int> mTicksPlaying;
32 ::ll::TypedStorage<1, 1, bool> mPostBlockChangeGameEvent;
52 virtual int getContainerSize()
const ;
55 virtual int getMaxStackSize()
const ;
58 virtual bool canPushInItem(
int,
int,
::ItemStack const& item)
const ;
61 virtual bool canPullOutItem(
int,
int,
::ItemStack const&)
const ;
64 virtual ::ItemStack
const& getItem(
int)
const ;
67 virtual void setItem(
int slot,
::ItemStack const& item) ;
73 virtual void stopOpen(
::Player& player) ;
76 virtual ::Container* getContainer() ;
79 virtual ::Container
const* getContainer()
const ;
85 virtual void serverInitItemStackIds(
88 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
92 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
106 MCAPI
void _onChanged(
::BlockSource& region, ::SharedTypes::Legacy::LevelSoundEvent sound);
108 MCAPI
void _spawnMusicParticles(
::Level& level,
float recordDuration);
110 MCAPI
void setRecord(
::ItemStack const& record,
bool startPlaying);
132 MCFOLD
int $getContainerSize()
const;
134 MCFOLD
int $getMaxStackSize()
const;
136 MCAPI
bool $canPushInItem(
int,
int,
::ItemStack const& item)
const;
138 MCAPI
bool $canPullOutItem(
int,
int,
::ItemStack const&)
const;
140 MCAPI ::ItemStack
const& $getItem(
int)
const;
142 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
146 MCFOLD
void $stopOpen(
::Player& player);
148 MCFOLD ::Container* $getContainer();
150 MCFOLD ::Container
const* $getContainer()
const;
155 $serverInitItemStackIds(
int containerSlot,
int, ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged);
157 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
Definition SaveContext.h:5