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