LeviLamina
Loading...
Searching...
No Matches
StructureTemplateFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/Direction.h"
7#include "mc/world/level/levelgen/feature/IFeature.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::StructureTemplate*> mStructure;
21 ::ll::TypedStorage<4, 4, int> mAdjustmentRadius;
22 ::ll::TypedStorage<1, 1, ::Direction::Type> mFaceDirection;
23 ::ll::TypedStorage<1, 1, bool> mRotateAroundCenter;
24 ::ll::TypedStorage<4, 4, int> mGroundLevel;
25 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::IStructureConstraint>>> mConstraints;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~StructureTemplateFeature() /*override*/ = default;
32
33 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
40
41
42 // NOLINTEND
43};
Definition BlockPos.h:17
Definition IFeature.h:18
Definition IStructureConstraint.h:14
Definition StructureTemplateFeature.h:16
Definition StructureTemplate.h:34
Definition IFeature.h:26
Definition context.h:5