23class BrewingStandBlockActor :
public ::BlockActor,
public ::Container {
37 ::ll::TypedStorage<4, 4, int> mBrewTime;
38 ::ll::TypedStorage<4, 4, int> mFuelAmount;
39 ::ll::TypedStorage<4, 4, int> mFuelTotal;
40 ::ll::TypedStorage<8, 8, ::Item const*> mIngredient;
41 ::ll::TypedStorage<8, 760, ::ItemStack[5]> mItems;
42 ::ll::TypedStorage<1, 1, bool> mNotifyPlayersOnChange;
47 BrewingStandBlockActor();
52 virtual ~BrewingStandBlockActor() ;
54 virtual ::ItemStack
const& getItem(
int slot)
const ;
56 virtual void setItem(
int slot,
::ItemStack const& item) ;
58 virtual ::std::string getName()
const ;
60 virtual int getMaxStackSize()
const ;
62 virtual int getContainerSize()
const ;
64 virtual void startOpen(
::Actor&) ;
66 virtual void stopOpen(
::Actor& actor) ;
68 virtual void setContainerChanged(
int slot) ;
72 virtual bool canPushInItem(
int slot,
int face,
::ItemStack const& item)
const ;
74 virtual bool canPullOutItem(
int slot,
int face,
::ItemStack const&)
const ;
76 virtual ::Container* getContainer() ;
78 virtual ::Container
const* getContainer()
const ;
88 virtual void onMove() ;
90 virtual void serverInitItemStackIds(
93 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
100 MCAPI
explicit BrewingStandBlockActor(
::BlockPos const& pos);
104 MCAPI
bool canBrew();
106 MCFOLD
int getBrewTime()
const;
108 MCFOLD
int getFuelAmount()
const;
110 MCFOLD
int getFuelTotal()
const;
112 MCAPI
int getPotionSlotUsage()
const;
114 MCFOLD
void setBrewTime(
int value);
116 MCFOLD
void setFuelAmount(
int value);
118 MCFOLD
void setFuelTotal(
int value);
142 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
144 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
146 MCFOLD ::std::string $getName()
const;
148 MCFOLD
int $getMaxStackSize()
const;
150 MCFOLD
int $getContainerSize()
const;
152 MCFOLD
void $startOpen(
::Actor&);
154 MCFOLD
void $stopOpen(
::Actor& actor);
156 MCAPI
void $setContainerChanged(
int slot);
160 MCAPI
bool $canPushInItem(
int slot,
int face,
::ItemStack const& item)
const;
162 MCAPI
bool $canPullOutItem(
int slot,
int face,
::ItemStack const&)
const;
164 MCFOLD ::Container* $getContainer();
166 MCFOLD ::Container
const* $getContainer()
const;
176 MCFOLD
void $onMove();
178 MCAPI
void $serverInitItemStackIds(
181 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
190 MCAPI
static void** $vftableForBlockActor();
192 MCAPI
static void** $vftableForContainer();
Definition SaveContext.h:5