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 MCNAPI bool _prepareSpawn(
66 ::IBlockWorldGenAPI& target,
67 ::BlockPos const& pos,
68 int treeHeight,
69 ::TreeHelper::TreeParams const& treeParams
70 ) const;
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCNAPI int $getTreeHeight(::Random& random) const;
77
78 MCNAPI ::std::optional<::BlockPos> $placeTrunk(
79 ::IBlockWorldGenAPI& target,
80 ::BlockPos const& pos,
81 ::Random& random,
82 int treeHeight,
83 ::RenderParams& renderParams,
84 ::TreeHelper::TreeParams const& treeParams,
85 ::ITreeCanopy const* canopy
86 ) const;
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftable();
93 // NOLINTEND
94};
Definition BlockPos.h:18
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition ITreeTrunk.h:15
Definition MegaTreeTrunk.h:18
static MCAPI void ** $vftable()
MCAPI int $getTreeHeight(::Random &random) const
MCAPI bool _prepareSpawn(::IBlockWorldGenAPI &target, ::BlockPos const &pos, int treeHeight, ::TreeHelper::TreeParams const &treeParams) const
MCAPI ::std::optional<::BlockPos > $placeTrunk(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int treeHeight, ::RenderParams &renderParams, ::TreeHelper::TreeParams const &treeParams, ::ITreeCanopy const *canopy) const
Definition Random.h:11
Definition RenderParams.h:30
Definition TreeParams.h:14
Definition Alias.h:14