LeviLamina
Loading...
Searching...
No Matches
StrongholdFeature.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;
18// clang-format on
19
21public:
22 // StrongholdFeature inner types declare
23 // clang-format off
24 struct StrongholdResult;
25 // clang-format on
26
27 // StrongholdFeature inner types define
29 public:
30 // member variables
31 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 StrongholdResult& operator=(StrongholdResult const&);
41 };
42
43public:
44 // member variables
45 // NOLINTBEGIN
50 // NOLINTEND
51
52public:
53 // prevent constructor by default
54 StrongholdFeature& operator=(StrongholdFeature const&);
57
58public:
59 // virtual functions
60 // NOLINTBEGIN
61 // vIndex: 4
62 virtual bool isFeatureChunk(
63 ::BiomeSource const& biomeSource,
64 ::Random& random,
65 ::ChunkPos const& pos,
66 uint levelSeed,
67 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
68 ::Dimension const& dimension
69 ) /*override*/;
70
71 // vIndex: 3
72 virtual bool getNearestGeneratedFeature(
73 ::Dimension& dimension,
74 ::BiomeSource const& biomeSource,
75 ::BlockPos const& origin,
76 ::BlockPos& pos,
77 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
78 bool mustBeInNewChunks,
79 ::std::optional<::HashedString> const& biomeTag
80 ) /*override*/;
81
82 // vIndex: 5
83 virtual ::std::unique_ptr<::StructureStart>
84 createStructureStart(::Dimension& generator, ::BiomeSource const&, ::Random& random, ::ChunkPos const& cp, ::IPreliminarySurfaceProvider const&) /*override*/
85 ;
86
87 // vIndex: 0
88 virtual ~StrongholdFeature() /*override*/ = default;
89 // NOLINTEND
90
91public:
92 // member functions
93 // NOLINTBEGIN
94 MCAPI ::StrongholdFeature::StrongholdResult const _generateStronghold(uint levelSeed, ::ChunkPos const& cp);
95
96 MCAPI bool _getNearestStronghold(
97 ::Dimension const& dimension,
98 uint levelSeed,
99 ::BlockPos const& origin,
100 ::BlockPos& pos,
101 bool mustBeInNewChunks
102 );
103
104 MCAPI void generatePositions(
105 ::Random& random,
106 ::BiomeSource const& biomeSource,
107 uint levelSeed,
108 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
109 ::Dimension const& dimension
110 );
111 // NOLINTEND
112
113public:
114 // static variables
115 // NOLINTBEGIN
116 MCAPI static ::BlockPos const& START_OFFSET();
117 // NOLINTEND
118
119public:
120 // destructor thunk
121 // NOLINTBEGIN
122
123 // NOLINTEND
124
125public:
126 // virtual function thunks
127 // NOLINTBEGIN
128 MCAPI bool $isFeatureChunk(
129 ::BiomeSource const& biomeSource,
130 ::Random& random,
131 ::ChunkPos const& pos,
132 uint levelSeed,
133 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
134 ::Dimension const& dimension
135 );
136
137 MCAPI bool $getNearestGeneratedFeature(
138 ::Dimension& dimension,
139 ::BiomeSource const& biomeSource,
140 ::BlockPos const& origin,
141 ::BlockPos& pos,
142 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
143 bool mustBeInNewChunks,
144 ::std::optional<::HashedString> const& biomeTag
145 );
146
147 MCAPI ::std::unique_ptr<::StructureStart>
148 $createStructureStart(::Dimension& generator, ::BiomeSource const&, ::Random& random, ::ChunkPos const& cp, ::IPreliminarySurfaceProvider const&);
149 // NOLINTEND
150
151public:
152 // vftables
153 // NOLINTBEGIN
154 MCAPI static void** $vftable();
155 // NOLINTEND
156};
Definition BiomeSource.h:16
Definition BlockPos.h:18
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:16
Definition StrongholdFeature.h:20
Definition StructureFeature.h:23
Definition StructureStart.h:13
Definition StrongholdFeature.h:28
Definition Alias.h:14