22class BrewingStandBlockActor :
public ::VanillaBlockActor,
public ::Container {
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;
46 BrewingStandBlockActor();
51 virtual ~BrewingStandBlockActor() =
default;
53 virtual ::ItemStack
const& getItem(
int slot)
const ;
55 virtual void setItem(
int slot,
::ItemStack const& item) ;
57 virtual ::std::string getName()
const ;
59 virtual int getMaxStackSize()
const ;
61 virtual int getContainerSize()
const ;
63 virtual void startOpen(
::Actor&) ;
65 virtual void stopOpen(
::Actor& actor) ;
67 virtual void setContainerChanged(
int slot) ;
71 virtual bool canPushInItem(
int slot,
int face,
::ItemStack const& item)
const ;
73 virtual bool canPullOutItem(
int slot,
int face,
::ItemStack const&)
const ;
75 virtual ::Container* getContainer() ;
77 virtual ::Container
const* getContainer()
const ;
87 virtual void onMove() ;
89 virtual void serverInitItemStackIds(
92 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
99 MCAPI
explicit BrewingStandBlockActor(
::BlockPos const& pos);
111 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
113 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
115 MCAPI ::std::string $getName()
const;
117 MCFOLD
int $getMaxStackSize()
const;
119 MCFOLD
int $getContainerSize()
const;
121 MCFOLD
void $startOpen(
::Actor&);
123 MCFOLD
void $stopOpen(
::Actor& actor);
125 MCAPI
void $setContainerChanged(
int slot);
129 MCAPI
bool $canPushInItem(
int slot,
int face,
::ItemStack const& item)
const;
131 MCAPI
bool $canPullOutItem(
int slot,
int face,
::ItemStack const&)
const;
133 MCFOLD ::Container* $getContainer();
135 MCFOLD ::Container
const* $getContainer()
const;
145 MCFOLD
void $onMove();
147 MCAPI
void $serverInitItemStackIds(
150 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
Definition SaveContext.h:5