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 // prevent constructor by default
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 0
39 virtual ~LabTableReaction() = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI LabTableReaction(
46 ::LabTableReactionType type,
47 ::BlockPos const& pos,
48 bool isClientSide,
49 int maxLifetime,
50 int startDelay
51 );
52
53 MCFOLD void addComponent(::std::unique_ptr<::LabTableReactionComponent> comp);
54
55 MCAPI void addResultItem(::ItemStack const& resultItem);
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static ::std::unique_ptr<::LabTableReaction>
62 createReaction(::LabTableReactionType type, ::BlockPos const& pos, bool isClientSide);
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void*
69 $ctor(::LabTableReactionType type, ::BlockPos const& pos, bool isClientSide, int maxLifetime, int startDelay);
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition BlockPos.h:17
Definition ItemStack.h:23
Definition LabTableReactionComponent.h:11
Definition LabTableReaction.h:16
static MCAPI void ** $vftable()
Definition Random.h:10