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;
48 virtual int getContainerSize()
const ;
51 virtual int getMaxStackSize()
const ;
54 virtual bool canPushInItem(
int,
int,
::ItemStack const& item)
const ;
57 virtual bool canPullOutItem(
int,
int,
::ItemStack const&)
const ;
60 virtual ::ItemStack
const& getItem(
int)
const ;
63 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
69 virtual void stopOpen(
::Player& player) ;
72 virtual ::Container* getContainer() ;
75 virtual ::Container
const* getContainer()
const ;
81 virtual void serverInitItemStackIds(
84 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
88 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
102 MCAPI
void _onChanged(
::BlockSource& region, ::SharedTypes::Legacy::LevelSoundEvent sound);
104 MCAPI
void _spawnMusicParticles(
::Level& level,
float recordDuration);
106 MCAPI
void setRecord(
::ItemStack const& record,
bool startPlaying);
134 MCFOLD
int $getContainerSize()
const;
136 MCFOLD
int $getMaxStackSize()
const;
138 MCAPI
bool $canPushInItem(
int,
int,
::ItemStack const& item)
const;
140 MCAPI
bool $canPullOutItem(
int,
int,
::ItemStack const&)
const;
142 MCAPI ::ItemStack
const& $getItem(
int)
const;
144 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
148 MCFOLD
void $stopOpen(
::Player& player);
150 MCFOLD ::Container* $getContainer();
152 MCFOLD ::Container
const* $getContainer()
const;
157 $serverInitItemStackIds(
int containerSlot,
int, ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged);
159 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
167 MCAPI
static void** $vftableForContainer();
169 MCAPI
static void** $vftableForRandomizableBlockActorContainerBase();
Definition SaveContext.h:5