3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/level/block/actor/ChestBlockActor.h"
28 ::ll::TypedStorage<1, 1, uchar> mFacing;
29 ::ll::TypedStorage<1, 1, bool> mFacingChanged;
37 virtual ::std::string getName()
const ;
39 virtual int getMaxStackSize()
const ;
49 virtual bool canPushInItem(
int slot,
int face,
::ItemStack const& item)
const ;
51 virtual void startOpen(
::Actor& actor) ;
53 virtual void stopOpen(
::Actor& actor) ;
55 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
59 virtual ::SharedTypes::Legacy::LevelSoundEvent getOpenSound()
const ;
61 virtual ::SharedTypes::Legacy::LevelSoundEvent getCloseSound()
const ;
63 virtual ::AABB getObstructionAABB()
const ;
65 virtual bool _detectEntityObstruction(
::BlockSource& region)
const ;
74 MCNAPI
static bool itemAllowedInSlot(
int,
::ItemStackBase const& item,
int);
93 MCAPI
bool $canPushInItem(
int slot,
int face,
::ItemStack const& item)
const;
Definition BlockActorDataPacket.h:19
Definition BlockSource.h:72
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition SaveContext.h:5
Definition ShulkerBoxBlockActor.h:24
MCAPI void $stopOpen(::Actor &actor)
MCAPI::AABB $getObstructionAABB() const
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getOpenSound() const
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
MCAPI ::std::unique_ptr<::BlockActorDataPacket > $_getUpdatePacket(::BlockSource ®ion)
MCAPI void $startOpen(::Actor &actor)
MCAPI void $onPlace(::BlockSource ®ion)
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getCloseSound() const
MCAPI void $tick(::BlockSource ®ion)
MCAPI bool $_detectEntityObstruction(::BlockSource ®ion) const
MCAPI::std::string $getName() const
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
static MCAPI void ** $vftableForBlockActor()
MCAPI void $load(::ILevel &level, ::CompoundTag const &base, ::DataLoadHelper &dataLoadHelper)
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
MCAPI void $_onUpdatePacket(::CompoundTag const &data, ::BlockSource ®ion)
static MCAPI void ** $vftable()
static MCAPI ::std::unique_ptr<::ShulkerBoxBlockActor > createShulkerBoxBlockEntity(::BlockPos const &pos)
MCAPI int $getMaxStackSize() const