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