LeviLamina
Loading...
Searching...
No Matches
SearchFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7#include "mc/world/level/levelgen/feature/IFeature.h"
8#include "mc/world/phys/AABB.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13// clang-format on
14
15class SearchFeature : public ::IFeature {
16public:
17 // SearchFeature inner types define
18 enum class SearchAxis : int {
19 NegativeX = 0,
20 PositiveX = 1,
21 NegativeY = 2,
22 PositiveY = 3,
23 NegativeZ = 4,
24 PositiveZ = 5,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mFeatureRef;
31 ::ll::TypedStorage<4, 24, ::AABB> mSearchVolume;
32 ::ll::TypedStorage<4, 4, ::SearchFeature::SearchAxis> mSearchAxis;
33 ::ll::TypedStorage<4, 4, int> mRequiredSuccesses;
34 // NOLINTEND
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~SearchFeature() /*override*/ = default;
41
42 // vIndex: 1
43 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition BlockPos.h:17
Definition IFeature.h:18
Definition SearchFeature.h:15
static MCAPI void ** $vftable()
Definition IFeature.h:26
Definition context.h:5