28 ::ll::TypedStorage<8, 1368, ::ItemStack[9]> mItems;
33 DispenserBlockActor();
38 virtual int getContainerSize()
const ;
40 virtual ::Container* getContainer() ;
42 virtual ::Container
const* getContainer()
const ;
44 virtual ::ItemStack
const& getItem(
int index)
const ;
46 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
48 virtual int getMaxStackSize()
const ;
50 virtual ::std::string getName()
const ;
52 virtual void startOpen(
::Actor& actor) ;
54 virtual void stopOpen(
::Actor& actor) ;
60 virtual void onMove() ;
62 virtual void serverInitItemStackIds(
65 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
68 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
72 virtual ~DispenserBlockActor() =
default;
78 MCAPI
explicit DispenserBlockActor(
::BlockPos pos);
80 MCAPI DispenserBlockActor(
::BlockPos pos, ::BlockActorType type);
82 MCAPI
int getRandomSlot(
::Random& random);
90 MCAPI
void* $ctor(
::BlockPos pos, ::BlockActorType type);
96 MCFOLD
int $getContainerSize()
const;
98 MCFOLD ::Container* $getContainer();
100 MCFOLD ::Container
const* $getContainer()
const;
102 MCAPI ::ItemStack
const& $getItem(
int index)
const;
104 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
106 MCFOLD
int $getMaxStackSize()
const;
108 MCAPI ::std::string $getName()
const;
110 MCFOLD
void $startOpen(
::Actor& actor);
112 MCFOLD
void $stopOpen(
::Actor& actor);
118 MCFOLD
void $onMove();
120 MCAPI
void $serverInitItemStackIds(
123 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
126 MCFOLD ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
136 MCAPI
static void** $vftableForContainer();
138 MCAPI
static void** $vftableForRandomizableBlockActorContainerBase();
Definition SaveContext.h:5