36 ::ll::TypedStorage<4, 4, int> mBrewTime;
37 ::ll::TypedStorage<4, 4, int> mFuelAmount;
38 ::ll::TypedStorage<4, 4, int> mFuelTotal;
39 ::ll::TypedStorage<8, 8, ::Item const*> mIngredient;
40 ::ll::TypedStorage<8, 760, ::ItemStack[5]> mItems;
41 ::ll::TypedStorage<1, 1, bool> mNotifyPlayersOnChange;
51 virtual ::ItemStack
const& getItem(
int slot)
const ;
54 virtual void setItem(
int slot,
::ItemStack const& item) ;
57 virtual ::std::string getName()
const ;
60 virtual int getMaxStackSize()
const ;
63 virtual int getContainerSize()
const ;
69 virtual void stopOpen(
::Player& player) ;
72 virtual void setContainerChanged(
int slot) ;
78 virtual bool canPushInItem(
int slot,
int face,
::ItemStack const& item)
const ;
81 virtual bool canPullOutItem(
int slot,
int face,
::ItemStack const&)
const ;
84 virtual ::Container* getContainer() ;
87 virtual ::Container
const* getContainer()
const ;
102 virtual void onMove() ;
105 virtual void serverInitItemStackIds(
108 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
119 MCAPI
bool canBrew();
137 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
139 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
141 MCFOLD ::std::string $getName()
const;
143 MCFOLD
int $getMaxStackSize()
const;
145 MCFOLD
int $getContainerSize()
const;
149 MCFOLD
void $stopOpen(
::Player& player);
151 MCFOLD
void $setContainerChanged(
int slot);
155 MCAPI
bool $canPushInItem(
int slot,
int face,
::ItemStack const& item)
const;
157 MCAPI
bool $canPullOutItem(
int slot,
int face,
::ItemStack const&)
const;
159 MCFOLD ::Container* $getContainer();
161 MCFOLD ::Container
const* $getContainer()
const;
171 MCFOLD
void $onMove();
173 MCAPI
void $serverInitItemStackIds(
176 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
183 MCAPI
static void** $vftableForBlockActor();
185 MCAPI
static void** $vftableForContainer();
Definition SaveContext.h:5