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
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
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 // vIndex: 3
39 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
40
41 // vIndex: 4
42 virtual bool getNearestGeneratedFeature(
43 ::Dimension& dimension,
44 ::BiomeSource const& biomeSource,
45 ::BlockPos const& origin,
46 ::BlockPos& pos,
47 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
48 bool mustBeInNewChunks,
49 ::std::optional<::HashedString> const& biomeTag
50 ) /*override*/;
51
52 // vIndex: 5
53 virtual bool isFeatureChunk(
54 ::BiomeSource const& biomeSource,
55 ::Random& random,
56 ::ChunkPos const& pos,
57 uint levelSeed,
58 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
59 ::Dimension const&
60 ) /*override*/;
61
62 // vIndex: 1
63 virtual bool shouldAddHardcodedSpawnAreas() const /*override*/;
64
65 // vIndex: 2
66 virtual bool shouldPostProcessMobs() const /*override*/;
67
68 // vIndex: 6
69 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
70 ::Dimension& generator,
71 ::BiomeSource const&,
72 ::Random& random,
73 ::ChunkPos const& lc,
75 ) /*override*/;
76
77 // vIndex: 0
78 virtual ~OceanMonumentFeature() /*override*/ = default;
79 // NOLINTEND
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCAPI explicit OceanMonumentFeature(uint seed);
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor(uint seed);
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
97
98 MCAPI bool $getNearestGeneratedFeature(
99 ::Dimension& dimension,
100 ::BiomeSource const& biomeSource,
101 ::BlockPos const& origin,
102 ::BlockPos& pos,
103 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
104 bool mustBeInNewChunks,
105 ::std::optional<::HashedString> const& biomeTag
106 );
107
108 MCAPI bool $isFeatureChunk(
109 ::BiomeSource const& biomeSource,
110 ::Random& random,
111 ::ChunkPos const& pos,
112 uint levelSeed,
113 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
114 ::Dimension const&
115 );
116
117 MCFOLD bool $shouldAddHardcodedSpawnAreas() const;
118
119 MCFOLD bool $shouldPostProcessMobs() const;
120
121 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
122 ::Dimension& generator,
123 ::BiomeSource const&,
124 ::Random& random,
125 ::ChunkPos const& lc,
127 );
128 // NOLINTEND
129
130public:
131 // vftables
132 // NOLINTBEGIN
133 MCAPI static void** $vftable();
134 // NOLINTEND
135};
Definition BiomeSource.h:20
Definition BlockPos.h:17
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition OceanMonumentFeature.h:21
Definition Random.h:10
Definition StructureFeature.h:24
Definition StructureStart.h:15
Definition BiomeIdType.h:8