3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/ContainerType.h"
7#include "mc/world/Container.h"
8#include "mc/world/level/block/actor/BlockActorRendererId.h"
9#include "mc/world/level/block/actor/BlockActorType.h"
10#include "mc/world/level/block/actor/RandomizableBlockActorContainerBase.h"
23 RandomizableBlockActorContainer();
28 virtual ~RandomizableBlockActorContainer() =
default;
30 virtual void setContainerChanged(
int slot) ;
32 virtual void startOpen(
::Actor& actor) ;
34 virtual void dropSlotContent(
::BlockSource& region,
::Vec3 const& pos,
bool randomizeDrop,
int slot) ;
40 virtual void initializeContainerContents(
::BlockSource& region) ;
47 ::BlockActorType blockEntityType,
49 ::SharedTypes::Legacy::ContainerType,
50 ::BlockActorRendererId rendererId
58 ::BlockActorType blockEntityType,
60 ::SharedTypes::Legacy::ContainerType,
61 ::BlockActorRendererId rendererId
70 MCAPI
void $startOpen(
::Actor& actor);
72 MCFOLD
void $dropSlotContent(
::BlockSource& region,
::Vec3 const& pos,
bool randomizeDrop,
int slot);
78 MCFOLD
void $initializeContainerContents(
::BlockSource& region);
Definition BlockSource.h:72
Definition RandomizableBlockActorContainerBase.h:20
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
MCAPI void * $ctor(::BlockActorType blockEntityType, ::BlockPos const &pos, ::SharedTypes::Legacy::ContainerType, ::BlockActorRendererId rendererId)
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
static MCAPI void ** $vftable()
MCAPI RandomizableBlockActorContainer(::BlockActorType blockEntityType, ::BlockPos const &pos, ::SharedTypes::Legacy::ContainerType, ::BlockActorRendererId rendererId)
static MCAPI void ** $vftableForBlockActor()
MCAPI void $onRemoved(::BlockSource ®ion)
MCAPI void $setContainerChanged(int slot)
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()