LeviLamina
Loading...
Searching...
No Matches
ITreeFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/IFeature.h"
7#include "mc/world/level/levelgen/feature/helpers/ITreeCanopyWrapper.h"
8#include "mc/world/level/levelgen/feature/helpers/ITreeRootWrapper.h"
9#include "mc/world/level/levelgen/feature/helpers/ITreeTrunkWrapper.h"
10#include "mc/world/level/levelgen/feature/helpers/tree_helper/TreeParams.h"
11
12// auto generated forward declare list
13// clang-format off
14class BlockPos;
15// clang-format on
16
17class ITreeFeature : public ::IFeature {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 128, ::TreeHelper::TreeParams> mTreeParams;
22 ::ll::TypedStorage<8, 8, ::ITreeTrunkWrapper> mTrunk;
23 ::ll::TypedStorage<8, 8, ::ITreeCanopyWrapper> mCanopy;
24 ::ll::TypedStorage<8, 8, ::ITreeRootWrapper> mRoots;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 0
31 virtual ~ITreeFeature() /*override*/ = default;
32
33 // vIndex: 1
34 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const&) const = 0;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI ::std::optional<::BlockPos> _place(::IFeature::PlacementContext const& context) const;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46
47 // NOLINTEND
48};
Definition BlockPos.h:17
Definition IFeature.h:18
Definition ITreeFeature.h:17
Definition IFeature.h:26
Definition context.h:5