3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/Container.h"
18 ::ll::TypedStorage<4, 4, int> mSize;
19 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mItems;
25 virtual ::ItemStack
const& getItem(
int slot)
const ;
27 virtual void setItem(
int slot,
::ItemStack const& item) ;
29 virtual int getContainerSize()
const ;
31 virtual int getMaxStackSize()
const ;
33 virtual void startOpen(
::Actor&) ;
35 virtual void stopOpen(
::Actor& actor) ;
37 virtual void serverInitItemStackIds(
40 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
55 MCNAPI ::ItemStack
const&
$getItem(
int slot)
const;
70 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
Definition ItemStack.h:26
Definition SimpleContainer.h:14
MCAPI void $stopOpen(::Actor &actor)
static MCAPI void ** $vftable()
MCAPI::ItemStack const & $getItem(int slot) const
MCAPI void $setItem(int slot, ::ItemStack const &item)
MCAPI int $getMaxStackSize() const
MCAPI void $serverInitItemStackIds(int containerSlot, int count, ::std::function< void(int, ::ItemStack const &)> onNetIdChanged)
MCAPI int $getContainerSize() const
MCAPI void $startOpen(::Actor &)