23class DispenserBlockActor :
public ::RandomizableBlockActorContainer {
27 ::ll::TypedStorage<8, 1368, ::ItemStack[9]> mItems;
32 DispenserBlockActor();
37 virtual bool isTypeOrDerived(::BlockActorType type)
const ;
39 virtual int getContainerSize()
const ;
41 virtual ::Container* getContainer() ;
43 virtual ::Container
const* getContainer()
const ;
45 virtual ::ItemStack
const& getItem(
int slot)
const ;
47 virtual void setItem(
int slot,
::ItemStack const& item) ;
49 virtual int getMaxStackSize()
const ;
51 virtual ::std::string getName()
const ;
53 virtual void startOpen(
::Actor& actor) ;
55 virtual void stopOpen(
::Actor& actor) ;
61 virtual void onMove() ;
63 virtual void serverInitItemStackIds(
66 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
69 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
77 MCAPI
explicit DispenserBlockActor(
::BlockPos pos);
79 MCAPI DispenserBlockActor(
::BlockPos pos, ::BlockActorType type);
87 MCAPI
void* $ctor(
::BlockPos pos, ::BlockActorType type);
93 MCAPI
bool $isTypeOrDerived(::BlockActorType type)
const;
95 MCFOLD
int $getContainerSize()
const;
97 MCFOLD ::Container* $getContainer();
99 MCFOLD ::Container
const* $getContainer()
const;
101 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
103 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
105 MCFOLD
int $getMaxStackSize()
const;
107 MCAPI ::std::string $getName()
const;
109 MCAPI
void $startOpen(
::Actor& actor);
111 MCFOLD
void $stopOpen(
::Actor& actor);
117 MCFOLD
void $onMove();
119 MCAPI
void $serverInitItemStackIds(
122 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
125 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
Definition SaveContext.h:5