17class LabTableReaction {
21 ::ll::TypedStorage<4, 4, int> mLifetime;
22 ::ll::TypedStorage<4, 4, int> mMaxLifetime;
23 ::ll::TypedStorage<4, 4, int> mStartDelay;
24 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ItemStack>> mResultItem;
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPos>> mPos;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Random>> mRandom;
27 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::LabTableReactionComponent>>> mComponents;
28 ::ll::TypedStorage<1, 1, ::LabTableReactionType> mType;
29 ::ll::TypedStorage<1, 1, bool> mIsClientSide;
39 virtual ~LabTableReaction() =
default;
45 MCAPI LabTableReaction(
46 ::LabTableReactionType type,
53 MCAPI ::Vec3 _getTableTop()
const;
55 MCFOLD
void addComponent(::std::unique_ptr<::LabTableReactionComponent> comp);
57 MCAPI
void addResultItem(
::ItemStack const& resultItem);
63 MCAPI static ::std::unique_ptr<::LabTableReaction>
64 createReaction(::LabTableReactionType type,
::BlockPos const& pos,
bool isClientSide);
71 $ctor(::LabTableReactionType type,
::BlockPos const& pos,
bool isClientSide,
int maxLifetime,
int startDelay);