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/world/level/block/BlockDescriptor.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
14class Random;
15// clang-format on
16
17namespace TreeHelper {
18
20public:
21 // AttachableDecoration inner types declare
22 // clang-format off
23 struct DirectionMask;
24 // clang-format on
25
26 // AttachableDecoration inner types define
27 enum class GrowthDirection : int {
28 Down = 0,
29 Up = 1,
30 Out = 2,
31 };
32
34 public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<1, 1, bool> mWest;
38 ::ll::TypedStorage<1, 1, bool> mEast;
39 ::ll::TypedStorage<1, 1, bool> mNorth;
40 ::ll::TypedStorage<1, 1, bool> mSouth;
41 // NOLINTEND
42 };
43
44public:
45 // member variables
46 // NOLINTBEGIN
47 ::ll::TypedStorage<4, 12, ::ChanceInformation> mDecorationChance;
48 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mDecorationBlock;
49 ::ll::TypedStorage<4, 4, int> mNumSteps;
50 ::ll::TypedStorage<4, 4, ::TreeHelper::AttachableDecoration::GrowthDirection> mDirection;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI void _placeMultiDecoration(
57 ::IBlockWorldGenAPI& target,
58 ::BlockPos const& pos,
59 ::Block const& block,
60 ::BlockPos const& origin
61 ) const;
62
63 MCAPI void placeDecoration(
64 ::IBlockWorldGenAPI& target,
65 ::BlockPos const& pos,
66 ::Random& random,
68 ) const;
69
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCAPI void $dtor();
77 // NOLINTEND
78};
79
80} // namespace TreeHelper
Definition BlockPos.h:17
Definition Block.h:38
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition AttachableDecoration.h:33
Definition AttachableDecoration.h:19