LeviLamina
Loading...
Searching...
No Matches
FancyTreeTrunk.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7#include "mc/world/level/levelgen/feature/helpers/ITreeTrunk.h"
8
9// auto generated forward declare list
10// clang-format off
12class ITreeCanopy;
13class Random;
14class RenderParams;
15namespace TreeHelper { struct TreeParams; }
16// clang-format on
17
19public:
20 // FancyTreeTrunk inner types declare
21 // clang-format off
22 class FoliageCoords;
23 // clang-format on
24
25 // FancyTreeTrunk inner types define
26 class FoliageCoords : public ::BlockPos {
27 public:
28 // member variables
29 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 FoliageCoords& operator=(FoliageCoords const&);
38 };
39
40public:
41 // member variables
42 // NOLINTBEGIN
53 // NOLINTEND
54
55public:
56 // prevent constructor by default
57 FancyTreeTrunk& operator=(FancyTreeTrunk const&);
60
61public:
62 // virtual functions
63 // NOLINTBEGIN
64 // vIndex: 0
65 virtual ~FancyTreeTrunk() /*override*/ = default;
66
67 // vIndex: 2
68 virtual int getTreeHeight(::Random& random) const /*override*/;
69
70 // vIndex: 1
71 virtual ::std::optional<::BlockPos> placeTrunk(
72 ::IBlockWorldGenAPI& target,
73 ::BlockPos const& pos,
74 ::Random& random,
75 int treeHeight,
76 ::RenderParams& renderParams,
77 ::TreeHelper::TreeParams const& treeParams,
78 ::ITreeCanopy const* canopy
79 ) const /*override*/;
80 // NOLINTEND
81
82public:
83 // member functions
84 // NOLINTBEGIN
85 MCAPI int _checkLine(
86 ::IBlockWorldGenAPI& target,
87 ::BlockPos const& startPos,
88 ::BlockPos const& endPos,
89 ::TreeHelper::TreeParams const& treeParams
90 ) const;
91
92 MCAPI void _placeLimb(::IBlockWorldGenAPI& target, ::BlockPos const& startPos, ::BlockPos const& endPos) const;
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98
99 // NOLINTEND
100
101public:
102 // virtual function thunks
103 // NOLINTBEGIN
104 MCAPI int $getTreeHeight(::Random& random) const;
105
106 MCAPI ::std::optional<::BlockPos> $placeTrunk(
107 ::IBlockWorldGenAPI& target,
108 ::BlockPos const& pos,
109 ::Random& random,
110 int treeHeight,
111 ::RenderParams& renderParams,
112 ::TreeHelper::TreeParams const& treeParams,
113 ::ITreeCanopy const* canopy
114 ) const;
115 // NOLINTEND
116
117public:
118 // vftables
119 // NOLINTBEGIN
120 MCAPI static void** $vftable();
121 // NOLINTEND
122};
Definition BlockPos.h:18
Definition FancyTreeTrunk.h:26
Definition FancyTreeTrunk.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