LeviLamina
Loading...
Searching...
No Matches
AttachableDecoration.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/ChanceInformation.h"
7#include "mc/util/IntRange.h"
8#include "mc/world/level/block/BlockDescriptor.h"
9#include "mc/world/level/block/states/CommonDirection.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
15class Random;
16// clang-format on
17
18namespace TreeHelper {
19
21public:
22 // AttachableDecoration inner types declare
23 // clang-format off
25 struct DirectionMask;
26 // clang-format on
27
28 // AttachableDecoration inner types define
29 enum class GrowthDirection : int {
30 Down = 0,
31 Up = 1,
32 Out = 2,
33 };
34
36 public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<8, 176, ::BlockDescriptor> blockDescriptor;
40 ::ll::TypedStorage<4, 8, ::IntRange> count;
41 // NOLINTEND
42
43 public:
44 // member functions
45 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCFOLD void $dtor();
53 // NOLINTEND
54 };
55
57 public:
58 // member variables
59 // NOLINTBEGIN
60 ::ll::TypedStorage<1, 1, bool> mWest;
61 ::ll::TypedStorage<1, 1, bool> mEast;
62 ::ll::TypedStorage<1, 1, bool> mNorth;
63 ::ll::TypedStorage<1, 1, bool> mSouth;
64 ::ll::TypedStorage<1, 1, bool> mUp;
65 ::ll::TypedStorage<1, 1, bool> mDown;
66 // NOLINTEND
67 };
68
69public:
70 // member variables
71 // NOLINTBEGIN
72 ::ll::TypedStorage<4, 4, ::TreeHelper::AttachableDecoration::GrowthDirection> mDirection;
73 ::ll::TypedStorage<4, 4, int> mNumSteps;
74 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mDecorationBlock;
75 ::ll::TypedStorage<4, 12, ::ChanceInformation> mDecorationChance;
76 ::ll::TypedStorage<8, 24, ::std::vector<::TreeHelper::AttachableDecoration::DecorationBlockDescriptor>>
77 mDecorationSequence;
78 // NOLINTEND
79
80public:
81 // member functions
82 // NOLINTBEGIN
83 MCAPI void _placeMultiDecoration(
84 ::IBlockWorldGenAPI& target,
85 ::Random& random,
86 ::BlockPos const& pos,
87 ::CommonDirection dir,
88 ::BlockPos const& origin
89 ) const;
90
91 MCAPI void placeDecoration(
92 ::IBlockWorldGenAPI& target,
93 ::BlockPos const& pos,
94 ::Random& random,
96 ) const;
97
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104 MCAPI void $dtor();
105 // NOLINTEND
106};
107
108} // namespace TreeHelper
Definition BlockPos.h:19
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition AttachableDecoration.h:56
Definition AttachableDecoration.h:20