LeviLamina
Loading...
Searching...
No Matches
LabTableReaction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/actor/LabTableReactionType.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class ItemStack;
13class Random;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int> mLifetime;
21 ::ll::TypedStorage<4, 4, int> mMaxLifetime;
22 ::ll::TypedStorage<4, 4, int> mStartDelay;
23 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ItemStack>> mResultItem;
24 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::BlockPos>> mPos;
25 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Random>> mRandom;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::LabTableReactionComponent>>> mComponents;
27 ::ll::TypedStorage<1, 1, ::LabTableReactionType> mType;
28 ::ll::TypedStorage<1, 1, bool> mIsClientSide;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~LabTableReaction() = default;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI void addResultItem(::ItemStack const& resultItem);
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static ::std::unique_ptr<::LabTableReaction>
47 createReaction(::LabTableReactionType type, ::BlockPos const& pos, bool isClientSide);
48 // NOLINTEND
49};
Definition BlockPos.h:17
Definition ItemStack.h:24
Definition LabTableReactionComponent.h:11
Definition LabTableReaction.h:16
Definition Random.h:10