27class ChemistryTableBlockActor :
public ::VanillaBlockActor,
public ::Container {
31 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorUniqueID>> mOpenedPlayer;
32 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LabTableReaction>> mCurReaction;
33 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CraftableCompounds>> mCraftableCompounds;
34 ::ll::TypedStorage<8, 1368, ::ItemStack[9]> mItems;
35 ::ll::TypedStorage<8, 152, ::ItemStack> mPendingReactionOutput;
36 ::ll::TypedStorage<1, 1, bool> mIsTableTypeCached;
37 ::ll::TypedStorage<8, 48, ::HashedString> mCachedTableType;
42 ChemistryTableBlockActor();
47 virtual ~ChemistryTableBlockActor() =
default;
49 virtual ::Container* getContainer() ;
51 virtual ::Container
const* getContainer()
const ;
53 virtual ::ItemStack
const& getItem(
int slot)
const ;
55 virtual void setItem(
int slot,
::ItemStack const& item) ;
57 virtual int getMaxStackSize()
const ;
59 virtual int getContainerSize()
const ;
61 virtual void startOpen(
::Actor&) ;
63 virtual void stopOpen(
::Actor& actor) ;
73 virtual void serverInitItemStackIds(
76 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
83 MCAPI
explicit ChemistryTableBlockActor(
::BlockPos const& pos);
97 MCAPI
void playerOpenLabTable(
::Player& player);
101 MCAPI
void serverCombine(
::BlockSource& region, ::std::vector<::ItemStack>
const& consumedInput);
115 MCFOLD ::Container* $getContainer();
117 MCFOLD ::Container
const* $getContainer()
const;
119 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
121 MCAPI
void $setItem(
int slot,
::ItemStack const& item);
123 MCFOLD
int $getMaxStackSize()
const;
125 MCFOLD
int $getContainerSize()
const;
127 MCFOLD
void $startOpen(
::Actor&);
129 MCAPI
void $stopOpen(
::Actor& actor);
139 MCAPI
void $serverInitItemStackIds(
142 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
Definition SaveContext.h:5