LeviLamina
Loading...
Searching...
No Matches
CherryTreeTrunk.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 Block;
11class BlockPos;
13class ITreeCanopy;
14class Random;
15class RenderParams;
16namespace TreeHelper { struct TreeParams; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 CherryTreeTrunk& operator=(CherryTreeTrunk const&);
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~CherryTreeTrunk() /*override*/ = default;
44
45 // vIndex: 2
46 virtual int getTreeHeight(::Random& random) const /*override*/;
47
48 // vIndex: 1
49 virtual ::std::optional<::BlockPos> placeTrunk(
50 ::IBlockWorldGenAPI& target,
51 ::BlockPos const& pos,
52 ::Random& random,
53 int treeHeight,
54 ::RenderParams& renderParams,
55 ::TreeHelper::TreeParams const& treeParams,
56 ::ITreeCanopy const* canopy
57 ) const /*override*/;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI ::BlockPos _generateBranch(
64 ::IBlockWorldGenAPI& target,
65 ::Block const& trunkBlock,
66 ::Block const& sidewaysTrunkBlock,
67 ::Random& random,
68 int treeHeight,
69 ::BlockPos origin,
70 ::TreeHelper::TreeParams const& treeParams,
71 ::BlockPos branchDirection,
72 int offsetFromOrigin,
73 bool middleContinuesUpwards
74 ) const;
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI int $getTreeHeight(::Random& random) const;
87
88 MCAPI ::std::optional<::BlockPos> $placeTrunk(
89 ::IBlockWorldGenAPI& target,
90 ::BlockPos const& pos,
91 ::Random& random,
92 int treeHeight,
93 ::RenderParams& renderParams,
94 ::TreeHelper::TreeParams const& treeParams,
95 ::ITreeCanopy const* canopy
96 ) const;
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCAPI static void** $vftable();
103 // NOLINTEND
104};
Definition BlockPos.h:18
Definition Block.h:36
Definition CherryTreeTrunk.h:19
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