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> createStructureStart(
84 ::Dimension& generator,
85 ::BiomeSource const&,
86 ::Random& random,
87 ::ChunkPos const& cp,
89 ) /*override*/;
90
91 // vIndex: 0
92 virtual ~StrongholdFeature() /*override*/ = default;
93 // NOLINTEND
94
95public:
96 // member functions
97 // NOLINTBEGIN
98 MCNAPI ::StrongholdFeature::StrongholdResult const _generateStronghold(uint levelSeed, ::ChunkPos const& cp);
99
101 ::Dimension const& dimension,
102 uint levelSeed,
103 ::BlockPos const& origin,
104 ::BlockPos& pos,
105 bool mustBeInNewChunks
106 );
107
108 MCNAPI void generatePositions(
109 ::Random& random,
110 ::BiomeSource const& biomeSource,
111 uint levelSeed,
112 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
113 ::Dimension const& dimension
114 );
115 // NOLINTEND
116
117public:
118 // static variables
119 // NOLINTBEGIN
120 MCNAPI static ::BlockPos const& START_OFFSET();
121 // NOLINTEND
122
123public:
124 // virtual function thunks
125 // NOLINTBEGIN
126 MCNAPI bool $isFeatureChunk(
127 ::BiomeSource const& biomeSource,
128 ::Random& random,
129 ::ChunkPos const& pos,
130 uint levelSeed,
131 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
132 ::Dimension const& dimension
133 );
134
136 ::Dimension& dimension,
137 ::BiomeSource const& biomeSource,
138 ::BlockPos const& origin,
139 ::BlockPos& pos,
140 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
141 bool mustBeInNewChunks,
142 ::std::optional<::HashedString> const& biomeTag
143 );
144
145 MCNAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
146 ::Dimension& generator,
147 ::BiomeSource const&,
148 ::Random& random,
149 ::ChunkPos const& cp,
151 );
152 // NOLINTEND
153
154public:
155 // vftables
156 // NOLINTBEGIN
157 MCNAPI static void** $vftable();
158 // NOLINTEND
159};
Definition BiomeSource.h:19
Definition BlockPos.h:18
Definition ChunkPos.h:11
Definition Dimension.h:83
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:11
Definition StrongholdFeature.h:20
MCAPI void generatePositions(::Random &random, ::BiomeSource const &biomeSource, uint levelSeed, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, ::Dimension const &dimension)
MCAPI bool $isFeatureChunk(::BiomeSource const &biomeSource, ::Random &random, ::ChunkPos const &pos, uint levelSeed, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, ::Dimension const &dimension)
static MCAPI void ** $vftable()
static MCAPI ::BlockPos const & START_OFFSET()
MCAPI ::std::unique_ptr<::StructureStart > $createStructureStart(::Dimension &generator, ::BiomeSource const &, ::Random &random, ::ChunkPos const &cp, ::IPreliminarySurfaceProvider const &)
MCAPI bool $getNearestGeneratedFeature(::Dimension &dimension, ::BiomeSource const &biomeSource, ::BlockPos const &origin, ::BlockPos &pos, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, bool mustBeInNewChunks, ::std::optional<::HashedString > const &biomeTag)
MCAPI bool _getNearestStronghold(::Dimension const &dimension, uint levelSeed, ::BlockPos const &origin, ::BlockPos &pos, bool mustBeInNewChunks)
MCAPI::StrongholdFeature::StrongholdResult const _generateStronghold(uint levelSeed, ::ChunkPos const &cp)
Definition StructureFeature.h:23
Definition StructureStart.h:15
Definition StrongholdFeature.h:28
Definition Alias.h:14