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);
101 MCAPI
bool $isTypeOrDerived(::BlockActorType type)
const;
103 MCFOLD
int $getContainerSize()
const;
105 MCFOLD ::Container* $getContainer();
107 MCFOLD ::Container
const* $getContainer()
const;
109 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
111 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
117 MCAPI
void $startOpen(
::Actor& actor);
119 MCFOLD
void $stopOpen(
::Actor& actor);
125 MCFOLD
void $onMove();
127 MCAPI
void $serverInitItemStackIds(
130 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
Definition SaveContext.h:5