LeviLamina
Loading...
Searching...
No Matches
MegaTreeTrunk.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
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 MegaTreeTrunk& operator=(MegaTreeTrunk const&);
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~MegaTreeTrunk() /*override*/ = default;
46
47 // vIndex: 2
48 virtual int getTreeHeight(::Random& random) const /*override*/;
49
50 // vIndex: 1
51 virtual ::std::optional<::BlockPos> placeTrunk(
52 ::IBlockWorldGenAPI& target,
53 ::BlockPos const& pos,
54 ::Random& random,
55 int treeHeight,
56 ::RenderParams& renderParams,
57 ::TreeHelper::TreeParams const& treeParams,
58 ::ITreeCanopy const* canopy
59 ) const /*override*/;
60 // NOLINTEND
61
62public:
63 // member functions
64 // NOLINTBEGIN
65 MCAPI bool _prepareSpawn(
66 ::IBlockWorldGenAPI& target,
67 ::BlockPos const& pos,
68 int treeHeight,
69 ::TreeHelper::TreeParams const& treeParams
70 ) const;
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI int $getTreeHeight(::Random& random) const;
83
84 MCAPI ::std::optional<::BlockPos> $placeTrunk(
85 ::IBlockWorldGenAPI& target,
86 ::BlockPos const& pos,
87 ::Random& random,
88 int treeHeight,
89 ::RenderParams& renderParams,
90 ::TreeHelper::TreeParams const& treeParams,
91 ::ITreeCanopy const* canopy
92 ) const;
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCAPI static void** $vftable();
99 // NOLINTEND
100};
Definition BlockPos.h:18
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition ITreeTrunk.h:15
Definition MegaTreeTrunk.h:18
Definition Random.h:16
Definition RenderParams.h:30
Definition TreeParams.h:14
Definition Alias.h:14