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
68
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
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 MCNAPI void* $ctor();
95 // NOLINTEND
96
97public:
98 // virtual function thunks
99 // NOLINTBEGIN
100 MCNAPI int $getTreeHeight(::Random& random) const;
101
102 MCNAPI ::std::optional<::BlockPos> $placeTrunk(
103 ::IBlockWorldGenAPI& target,
104 ::BlockPos const& pos,
105 ::Random& random,
106 int treeHeight,
107 ::RenderParams& renderParams,
108 ::TreeHelper::TreeParams const& treeParams,
109 ::ITreeCanopy const* canopy
110 ) const;
111 // NOLINTEND
112
113public:
114 // vftables
115 // NOLINTBEGIN
116 MCNAPI static void** $vftable();
117 // NOLINTEND
118};
Definition AcaciaTreeTrunk.h:18
MCAPI int $getTreeHeight(::Random &random) const
static MCAPI void ** $vftable()
MCAPI void * $ctor()
MCAPI AcaciaTreeTrunk()
MCAPI ::std::optional<::BlockPos > $placeTrunk(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int treeHeight, ::RenderParams &renderParams, ::TreeHelper::TreeParams const &treeParams, ::ITreeCanopy const *canopy) const
MCAPI void _placeLeaningBranches(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::BlockPos const &branchPos, ::Random &random, ::RenderParams &renderParams, int treeHeight, int leanDirection, int leanHeight, ::TreeHelper::TreeParams const &treeParams) const
MCAPI void _placeVerticalBranches(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::BlockPos const &branchPos, ::Random &random, ::RenderParams &renderParams, ::TreeHelper::TreeParams const &treeParams) const
Definition BlockPos.h:18
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition ITreeTrunk.h:15
Definition Random.h:11
Definition RenderParams.h:30
Definition TreeParams.h:14
Definition Alias.h:14