35 ::ll::TypedStorage<4, 4, int> mBrewTime;
36 ::ll::TypedStorage<4, 4, int> mFuelAmount;
37 ::ll::TypedStorage<4, 4, int> mFuelTotal;
38 ::ll::TypedStorage<8, 8, ::Item const*> mIngredient;
39 ::ll::TypedStorage<8, 760, ::ItemStack[5]> mItems;
40 ::ll::TypedStorage<1, 1, bool> mNotifyPlayersOnChange;
50 virtual ::ItemStack
const& getItem(
int slot)
const ;
53 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
56 virtual ::std::string getName()
const ;
59 virtual int getMaxStackSize()
const ;
62 virtual int getContainerSize()
const ;
65 virtual void startOpen(
::Actor&) ;
68 virtual void stopOpen(
::Actor& actor) ;
71 virtual void setContainerChanged(
int slot) ;
77 virtual bool canPushInItem(
int slot,
int face,
::ItemStack const& item)
const ;
80 virtual bool canPullOutItem(
int slot,
int face,
::ItemStack const&)
const ;
83 virtual ::Container* getContainer() ;
86 virtual ::Container
const* getContainer()
const ;
101 virtual void onMove() ;
104 virtual void serverInitItemStackIds(
107 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
116 MCAPI
bool canBrew();
122 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
124 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
126 MCFOLD ::std::string $getName()
const;
128 MCFOLD
int $getMaxStackSize()
const;
130 MCFOLD
int $getContainerSize()
const;
132 MCFOLD
void $startOpen(
::Actor&);
134 MCFOLD
void $stopOpen(
::Actor& actor);
136 MCFOLD
void $setContainerChanged(
int slot);
140 MCAPI
bool $canPushInItem(
int slot,
int face,
::ItemStack const& item)
const;
142 MCAPI
bool $canPullOutItem(
int slot,
int face,
::ItemStack const&)
const;
144 MCFOLD ::Container* $getContainer();
146 MCFOLD ::Container
const* $getContainer()
const;
156 MCFOLD
void $onMove();
158 MCAPI
void $serverInitItemStackIds(
161 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
168 MCAPI
static void** $vftableForBlockActor();
170 MCAPI
static void** $vftableForContainer();
Definition SaveContext.h:5