LeviLamina
Loading...
Searching...
No Matches
AcaciaTreeTrunk.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/helpers/ITreeTrunk.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
12class ITreeCanopy;
13class Random;
14class RenderParams;
15namespace TreeHelper { struct TreeParams; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
40 AcaciaTreeTrunk& operator=(AcaciaTreeTrunk const&);
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 0
47 virtual ~AcaciaTreeTrunk() /*override*/ = default;
48
49 // vIndex: 2
50 virtual int getTreeHeight(::Random& random) const /*override*/;
51
52 // vIndex: 1
53 virtual ::std::optional<::BlockPos> placeTrunk(
54 ::IBlockWorldGenAPI& target,
55 ::BlockPos const& pos,
56 ::Random& random,
57 int treeHeight,
58 ::RenderParams& renderParams,
59 ::TreeHelper::TreeParams const& treeParams,
60 ::ITreeCanopy const* canopy
61 ) const /*override*/;
62 // NOLINTEND
63
64public:
65 // member functions
66 // NOLINTBEGIN
67 MCAPI AcaciaTreeTrunk();
68
69 MCAPI void _placeLeaningBranches(
70 ::IBlockWorldGenAPI& target,
71 ::BlockPos const& pos,
72 ::BlockPos const& branchPos,
73 ::Random& random,
74 ::RenderParams& renderParams,
75 int treeHeight,
76 int leanDirection,
77 int leanHeight,
78 ::TreeHelper::TreeParams const& treeParams
79 ) const;
80
81 MCAPI void _placeVerticalBranches(
82 ::IBlockWorldGenAPI& target,
83 ::BlockPos const& pos,
84 ::BlockPos const& branchPos,
85 ::Random& random,
86 ::RenderParams& renderParams,
87 ::TreeHelper::TreeParams const& treeParams
88 ) const;
89 // NOLINTEND
90
91public:
92 // constructor thunks
93 // NOLINTBEGIN
94 MCAPI void* $ctor();
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100
101 // NOLINTEND
102
103public:
104 // virtual function thunks
105 // NOLINTBEGIN
106 MCAPI int $getTreeHeight(::Random& random) const;
107
108 MCAPI ::std::optional<::BlockPos> $placeTrunk(
109 ::IBlockWorldGenAPI& target,
110 ::BlockPos const& pos,
111 ::Random& random,
112 int treeHeight,
113 ::RenderParams& renderParams,
114 ::TreeHelper::TreeParams const& treeParams,
115 ::ITreeCanopy const* canopy
116 ) const;
117 // NOLINTEND
118
119public:
120 // vftables
121 // NOLINTBEGIN
122 MCAPI static void** $vftable();
123 // NOLINTEND
124};
Definition AcaciaTreeTrunk.h:18
Definition BlockPos.h:18
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition ITreeTrunk.h:15
Definition Random.h:16
Definition RenderParams.h:30
Definition TreeParams.h:14
Definition Alias.h:14