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 ;
50 virtual int getMaxStackSize()
const ;
52 virtual bool canPushInItem(
int,
int,
::ItemStack const& item)
const ;
54 virtual bool canPullOutItem(
int,
int,
::ItemStack const&)
const ;
56 virtual ::ItemStack
const& getItem(
int index)
const ;
58 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
60 virtual void startOpen(
::Actor&) ;
62 virtual void stopOpen(
::Actor& actor) ;
64 virtual ::Container* getContainer() ;
66 virtual ::Container
const* getContainer()
const ;
70 virtual void serverInitItemStackIds(
73 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
76 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
80 virtual ~JukeboxBlockActor() =
default;
86 MCAPI
explicit JukeboxBlockActor(
::BlockPos const& pos);
88 MCAPI
void _onChanged(
::BlockSource& region, ::SharedTypes::Legacy::LevelSoundEvent sound);
90 MCAPI
void _spawnMusicParticles(
::Level& level,
float recordDuration);
92 MCAPI
void setRecord(
::ItemStack const& record,
bool startPlaying);
114 MCFOLD
int $getContainerSize()
const;
116 MCFOLD
int $getMaxStackSize()
const;
118 MCAPI
bool $canPushInItem(
int,
int,
::ItemStack const& item)
const;
120 MCAPI
bool $canPullOutItem(
int,
int,
::ItemStack const&)
const;
122 MCAPI ::ItemStack
const& $getItem(
int index)
const;
124 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
126 MCFOLD
void $startOpen(
::Actor&);
128 MCFOLD
void $stopOpen(
::Actor& actor);
130 MCFOLD ::Container* $getContainer();
132 MCFOLD ::Container
const* $getContainer()
const;
137 $serverInitItemStackIds(
int containerSlot,
int, ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged);
139 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
149 MCAPI
static void** $vftableForContainer();
151 MCAPI
static void** $vftableForRandomizableBlockActorContainerBase();
Definition SaveContext.h:5