3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/Container.h"
18 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mItems;
19 ::ll::TypedStorage<4, 4, int> mWidth;
33 virtual ::ItemStack
const& getItem(
int slot)
const ;
36 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
39 virtual int getContainerSize()
const ;
42 virtual int getMaxStackSize()
const ;
45 virtual void setContainerChanged(
int slot) ;
51 virtual void stopOpen(
::Player& player) ;
54 virtual void serverInitItemStackIds(
57 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
70 MCNAPI
void*
$ctor(
int w,
int h);
82 MCNAPI ::ItemStack
const&
$getItem(
int slot)
const;
99 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
Definition Container.h:30
Definition CraftingContainer.h:14
MCAPI void $startOpen(::Player &)
MCAPI void $setItem(int modelSlot, ::ItemStack const &item)
MCAPI CraftingContainer(int w, int h)
static MCAPI void ** $vftable()
MCAPI void * $ctor(int w, int h)
MCAPI void $serverInitItemStackIds(int containerSlot, int count, ::std::function< void(int, ::ItemStack const &)> onNetIdChanged)
MCAPI int $getContainerSize() const
MCAPI::ItemStack const & $getItem(int slot) const
MCAPI void $stopOpen(::Player &player)
MCAPI int $getMaxStackSize() const
MCAPI void $setContainerChanged(int slot)
Definition ItemStack.h:25