LeviLamina
Loading...
Searching...
No Matches
NoSurfaceOreFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/IntRange.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8#include "mc/world/level/levelgen/feature/IFeature.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
13// clang-format on
14
15class NoSurfaceOreFeature : public ::IFeature {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 8, ::IntRange> mCount;
20 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mPlaceBlock;
21 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mReplaceBlock;
22 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mAvoidsBlock;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 NoSurfaceOreFeature();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI NoSurfaceOreFeature(
39 ::IntRange count,
40 ::BlockDescriptor const& places,
41 ::BlockDescriptor const& replaces,
42 ::BlockDescriptor const& notExposedTo
43 );
44 // NOLINTEND
45
46public:
47 // constructor thunks
48 // NOLINTBEGIN
49 MCAPI void* $ctor(
50 ::IntRange count,
51 ::BlockDescriptor const& places,
52 ::BlockDescriptor const& replaces,
53 ::BlockDescriptor const& notExposedTo
54 );
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition BlockDescriptor.h:21
Definition BlockPos.h:21
Definition IFeature.h:19
static MCAPI void ** $vftable()
Definition IFeature.h:27
Definition IntRange.h:11
Definition context.h:5