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