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 virtual ~ITreeFeature() /*override*/ = default;
31
32 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const&) const = 0;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI ::std::optional<::BlockPos> _place(::IFeature::PlacementContext const& context) const;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44
45 // NOLINTEND
46};
Definition BlockPos.h:19
Definition IFeature.h:18
Definition ITreeFeature.h:17
Definition IFeature.h:26
Definition context.h:5