LeviLamina
Loading...
Searching...
No Matches
MangroveTreeTrunk.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
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 MangroveTreeTrunk& operator=(MangroveTreeTrunk const&);
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~MangroveTreeTrunk() /*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 void
66 _placeBranch(::IBlockWorldGenAPI& target, ::std::vector<::BlockPos>* canopyAttachmentPositions, ::Random& random, int treeHeight, ::RenderParams& treeParams, ::TreeHelper::TreeParams const& logPos, ::BlockPos& currentHeight, int branchDir, uchar branchPos, int branchSteps, int trunkBlock, ::Block const*)
67 const;
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI int $getTreeHeight(::Random& random) const;
80
81 MCAPI ::std::optional<::BlockPos> $placeTrunk(
82 ::IBlockWorldGenAPI& target,
83 ::BlockPos const& pos,
84 ::Random& random,
85 int treeHeight,
86 ::RenderParams& renderParams,
87 ::TreeHelper::TreeParams const& treeParams,
88 ::ITreeCanopy const* canopy
89 ) const;
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCAPI static void** $vftable();
96 // NOLINTEND
97};
Definition BlockPos.h:18
Definition Block.h:36
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition ITreeTrunk.h:15
Definition MangroveTreeTrunk.h:19
Definition Random.h:16
Definition RenderParams.h:30
Definition TreeParams.h:14
Definition Alias.h:14