28class ChemistryTableBlockActor :
public ::BlockActor,
public ::Container {
32 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ActorUniqueID>> mOpenedPlayer;
33 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LabTableReaction>> mCurReaction;
34 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CraftableCompounds>> mCraftableCompounds;
35 ::ll::TypedStorage<8, 1368, ::ItemStack[9]> mItems;
36 ::ll::TypedStorage<8, 152, ::ItemStack> mPendingReactionOutput;
37 ::ll::TypedStorage<1, 1, bool> mIsTableTypeCached;
38 ::ll::TypedStorage<8, 48, ::HashedString> mCachedTableType;
43 ChemistryTableBlockActor();
48 virtual ~ChemistryTableBlockActor() ;
50 virtual ::Container* getContainer() ;
52 virtual ::Container
const* getContainer()
const ;
54 virtual ::ItemStack
const& getItem(
int slot)
const ;
56 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
58 virtual int getMaxStackSize()
const ;
60 virtual int getContainerSize()
const ;
62 virtual void startOpen(
::Actor&) ;
64 virtual void stopOpen(
::Actor& actor) ;
74 virtual void serverInitItemStackIds(
77 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
84 MCAPI
explicit ChemistryTableBlockActor(
::BlockPos const& pos);
86 MCAPI ::std::unique_ptr<::LabTableReaction>
87 _createReaction(
::Random& random, ::std::vector<::ItemStack>
const& consumedInput);
91 MCAPI ::HashedString
const& _updateType(
::BlockSource& region);
93 MCAPI
void playerOpenLabTable(
::Player& player);
97 MCAPI
void serverCombine(
::BlockSource& region, ::std::vector<::ItemStack>
const& consumedInput);
117 MCFOLD ::Container* $getContainer();
119 MCFOLD ::Container
const* $getContainer()
const;
121 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
123 MCAPI
void $setItem(
int modelSlot,
::ItemStack const& item);
125 MCFOLD
int $getMaxStackSize()
const;
127 MCFOLD
int $getContainerSize()
const;
129 MCFOLD
void $startOpen(
::Actor&);
131 MCAPI
void $stopOpen(
::Actor& actor);
141 MCAPI
void $serverInitItemStackIds(
144 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
153 MCAPI
static void** $vftableForContainer();
155 MCAPI
static void** $vftableForBlockActor();
Definition SaveContext.h:5