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& random,
66 ::Random& lc,
67 ::ChunkPos const&,
69 ) /*override*/;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
75 MCAPI explicit OceanMonumentFeature(uint seed);
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81 MCAPI void* $ctor(uint seed);
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
88
89 MCAPI bool $getNearestGeneratedFeature(
90 ::Dimension& dimension,
91 ::BiomeSource const& biomeSource,
92 ::BlockPos const& origin,
93 ::BlockPos& pos,
94 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
95 bool mustBeInNewChunks,
96 ::std::optional<::HashedString> const& biomeTag
97 );
98
99 MCAPI bool $isFeatureChunk(
100 ::BiomeSource const& biomeSource,
101 ::Random& random,
102 ::ChunkPos const& pos,
103 uint levelSeed,
104 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
105 ::Dimension const&
106 );
107
108 MCFOLD bool $shouldAddHardcodedSpawnAreas() const;
109
110 MCFOLD bool $shouldPostProcessMobs() const;
111
112 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
113 ::Dimension& generator,
114 ::BiomeSource const& random,
115 ::Random& lc,
116 ::ChunkPos const&,
118 );
119
120
121 // NOLINTEND
122
123public:
124 // vftables
125 // NOLINTBEGIN
126 MCAPI static void** $vftable();
127 // NOLINTEND
128};
Definition BiomeSource.h:24
Definition BlockPos.h:21
Definition ChunkPos.h:11
Definition Dimension.h:89
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
static MCAPI void ** $vftable()
Definition StructureStart.h:15
Definition BiomeIdType.h:8