3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/world/Container.h"
8#include "mc/world/item/ItemStack.h"
9#include "mc/world/level/block/actor/BlockActor.h"
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;
51 virtual ::Container* getContainer() ;
54 virtual ::Container
const* getContainer()
const ;
57 virtual ::ItemStack
const& getItem(
int slot)
const ;
60 virtual void setItem(
int slot,
::ItemStack const& item) ;
63 virtual int getMaxStackSize()
const ;
66 virtual int getContainerSize()
const ;
69 virtual void startOpen(
::Player& p) ;
87 virtual void serverInitItemStackIds(
90 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
99 MCNAPI ::std::unique_ptr<::LabTableReaction>
134 MCNAPI ::ItemStack
const&
$getItem(
int slot)
const;
157 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
Definition BlockActor.h:32
Definition BlockSource.h:67
Definition ChemistryTableBlockActor.h:27
MCAPI void * $ctor(::BlockPos const &pos)
MCAPI void $startOpen(::Player &p)
MCAPI void $load(::ILevel &level, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI void $tick(::BlockSource ®ion)
MCAPI bool $save(::CompoundTag &tag, ::SaveContext const &saveContext) const
static MCAPI void ** $vftableForContainer()
static MCAPI void ** $vftableForBlockActor()
MCAPI void $setItem(int slot, ::ItemStack const &item)
MCAPI void _popPendingReactionOutput(::BlockSource ®ion)
MCAPI int $getContainerSize() const
MCAPI::Container * $getContainer()
MCAPI void serverCombine(::BlockSource ®ion, ::std::vector<::ItemStack > const &consumedInput)
MCAPI void serverLabTablePacket_DEPRECATED(::LabTablePacket const &packet, ::BlockSource ®ion)
MCAPI void $onRemoved(::BlockSource ®ion)
MCAPI int $getMaxStackSize() const
MCAPI::Container const * $getContainer() const
MCAPI void reset(::BlockSource ®ion)
MCAPI ChemistryTableBlockActor(::BlockPos const &pos)
MCAPI::ItemStack const & $getItem(int slot) const
MCAPI void $serverInitItemStackIds(int containerSlot, int count, ::std::function< void(int, ::ItemStack const &)> onNetIdChanged)
MCAPI void $stopOpen(::Player &p)
MCAPI::HashedString const & _updateType(::BlockSource ®ion)
MCAPI void playerOpenLabTable(::Player &player)
MCAPI ::std::unique_ptr<::LabTableReaction > _createReaction(::Random &random, ::std::vector<::ItemStack > const &consumedInput)
Definition CompoundTag.h:13
Definition Container.h:30
Definition CraftableCompounds.h:17
Definition DataLoadHelper.h:20
Definition ItemStack.h:25
Definition LabTablePacket.h:18
Definition LabTableReaction.h:15
Definition SaveContext.h:5
Definition ActorUniqueID.h:5