LeviLamina
Loading...
Searching...
No Matches
OceanMonumentFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/structure/StructureFeature.h"
7
8// auto generated forward declare list
9// clang-format off
10class BiomeSource;
11class BlockPos;
12class ChunkPos;
13class Dimension;
14class HashedString;
16class Random;
17class StructureStart;
18struct BiomeIdType;
19// clang-format on
20
21class OceanMonumentFeature : public ::StructureFeature {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int> mMonumentSpacing;
26 ::ll::TypedStorage<4, 4, int> mMinMonumentSeparation;
27 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeIdType>> allowedBiomes;
28 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeIdType>> allowedSpawnBiomes;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 OceanMonumentFeature();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
39
40 virtual bool getNearestGeneratedFeature(
41 ::Dimension& dimension,
42 ::BiomeSource const& biomeSource,
43 ::BlockPos const& origin,
44 ::BlockPos& pos,
45 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
46 bool mustBeInNewChunks,
47 ::std::optional<::HashedString> const& biomeTag
48 ) /*override*/;
49
50 virtual bool isFeatureChunk(
51 ::BiomeSource const& biomeSource,
52 ::Random& random,
53 ::ChunkPos const& pos,
54 uint levelSeed,
55 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
56 ::Dimension const&
57 ) /*override*/;
58
59 virtual bool shouldAddHardcodedSpawnAreas() const /*override*/;
60
61 virtual bool shouldPostProcessMobs() const /*override*/;
62
63 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
64 ::Dimension& generator,
65 ::BiomeSource const&,
66 ::Random& random,
67 ::ChunkPos const& lc,
69 ) /*override*/;
70
71 virtual ~OceanMonumentFeature() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
77 MCAPI explicit OceanMonumentFeature(uint seed);
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCAPI void* $ctor(uint seed);
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
90
91 MCAPI bool $getNearestGeneratedFeature(
92 ::Dimension& dimension,
93 ::BiomeSource const& biomeSource,
94 ::BlockPos const& origin,
95 ::BlockPos& pos,
96 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
97 bool mustBeInNewChunks,
98 ::std::optional<::HashedString> const& biomeTag
99 );
100
101 MCAPI bool $isFeatureChunk(
102 ::BiomeSource const& biomeSource,
103 ::Random& random,
104 ::ChunkPos const& pos,
105 uint levelSeed,
106 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
107 ::Dimension const&
108 );
109
110 MCFOLD bool $shouldAddHardcodedSpawnAreas() const;
111
112 MCFOLD bool $shouldPostProcessMobs() const;
113
114 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
115 ::Dimension& generator,
116 ::BiomeSource const&,
117 ::Random& random,
118 ::ChunkPos const& lc,
120 );
121
122
123 // NOLINTEND
124
125public:
126 // vftables
127 // NOLINTBEGIN
128 MCAPI static void** $vftable();
129 // NOLINTEND
130};
Definition BiomeSource.h:20
Definition BlockPos.h:19
Definition ChunkPos.h:11
Definition Dimension.h:85
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
static MCAPI void ** $vftable()
Definition StructureStart.h:15
Definition BiomeIdType.h:8