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
45 public:
46 // member variables
47 // NOLINTBEGIN
48 ::ll::TypedStorage<1, 1, bool> mWest;
49 ::ll::TypedStorage<1, 1, bool> mEast;
50 ::ll::TypedStorage<1, 1, bool> mNorth;
51 ::ll::TypedStorage<1, 1, bool> mSouth;
52 ::ll::TypedStorage<1, 1, bool> mUp;
53 ::ll::TypedStorage<1, 1, bool> mDown;
54 // NOLINTEND
55 };
56
57public:
58 // member variables
59 // NOLINTBEGIN
60 ::ll::TypedStorage<4, 4, ::TreeHelper::AttachableDecoration::GrowthDirection> mDirection;
61 ::ll::TypedStorage<4, 4, int> mNumSteps;
62 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mDecorationBlock;
63 ::ll::TypedStorage<4, 12, ::ChanceInformation> mDecorationChance;
64 ::ll::TypedStorage<8, 24, ::std::vector<::TreeHelper::AttachableDecoration::DecorationBlockDescriptor>>
65 mDecorationSequence;
66 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
71 MCAPI void _placeMultiDecoration(
72 ::IBlockWorldGenAPI& target,
73 ::Random& random,
74 ::BlockPos const& pos,
75 ::CommonDirection dir,
76 ::BlockPos const& origin
77 ) const;
78
79 MCAPI void placeDecoration(
80 ::IBlockWorldGenAPI& target,
81 ::BlockPos const& pos,
82 ::Random& random,
84 ) const;
85
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94};
95
96} // namespace TreeHelper
Definition BlockPos.h:21
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition AttachableDecoration.h:44
Definition AttachableDecoration.h:20