3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/pub_sub/Subscription.h"
7#include "mc/world/item/ItemStack.h"
8#include "mc/world/level/ServerSoundInstance.h"
9#include "mc/world/level/block/actor/RandomizableBlockActorContainer.h"
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;
33 ::ll::TypedStorage<8, 296, ::std::optional<::ServerSoundInstance>> mServerSoundInstance;
34 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnChunkDiscardedSubscription;
46 virtual int getContainerSize()
const ;
48 virtual int getMaxStackSize()
const ;
50 virtual bool canPushInItem(
int,
int,
::ItemStack const& item)
const ;
52 virtual bool canPullOutItem(
int,
int,
::ItemStack const&)
const ;
54 virtual ::ItemStack
const& getItem(
int)
const ;
56 virtual void setItem(
int slot,
::ItemStack const& item) ;
58 virtual void startOpen(
::Actor& actor) ;
60 virtual void stopOpen(
::Actor& actor) ;
62 virtual ::Container* getContainer() ;
64 virtual ::Container
const* getContainer()
const ;
68 virtual void serverInitItemStackIds(
71 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
74 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
84 MCAPI
void setRecord(
::ItemStack const& record,
bool startPlaying);
Definition BlockActorDataPacket.h:19
Definition BlockSource.h:72
Definition CompoundTag.h:18
Definition Container.h:36
Definition DataLoadHelper.h:20
Definition ItemStack.h:26
Definition JukeboxBlockActor.h:24
MCAPI void $startOpen(::Actor &actor)
MCAPI void $setItem(int slot, ::ItemStack const &item)
MCAPI void $tick(::BlockSource ®ion)
MCAPI ::std::unique_ptr<::BlockActorDataPacket > $_getUpdatePacket(::BlockSource &)
static MCAPI void ** $vftableForBlockActor()
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
MCAPI void $serverInitItemStackIds(int containerSlot, int, ::std::function< void(int, ::ItemStack const &)> onNetIdChanged)
MCAPI void $stopOpen(::Actor &actor)
MCAPI void $onChanged(::BlockSource ®ion)
MCAPI bool $canPushInItem(int, int, ::ItemStack const &item) const
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
static MCAPI void ** $vftable()
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
MCAPI bool $canPullOutItem(int, int, ::ItemStack const &) const
MCAPI int $getContainerSize() const
MCAPI int $getMaxStackSize() const
MCAPI::Container * $getContainer()
MCAPI void $_onUpdatePacket(::CompoundTag const &data, ::BlockSource ®ion)
MCAPI::ItemStack const & $getItem(int) const
MCAPI::Container const * $getContainer() const
Definition SaveContext.h:5
Definition MusicDiscPlaybackInfo.h:5