LeviLamina
Loading...
Searching...
No Matches
AncientCityFeature.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;
17class Random;
18class StructureStart;
19struct BiomeIdType;
20// clang-format on
21
22class AncientCityFeature : public ::StructureFeature {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeIdType>> mAllowedBiomes;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 AncientCityFeature();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual bool isFeatureChunk(
37 ::BiomeSource const& biomeSource,
38 ::Random& random,
39 ::ChunkPos const& chunkPos,
40 uint levelSeed,
42 ::Dimension const&
43 ) /*override*/;
44
45 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
46
47 virtual bool getNearestGeneratedFeature(
48 ::Dimension& dimension,
49 ::BiomeSource const& biomeSource,
50 ::BlockPos const& origin,
51 ::BlockPos& pos,
52 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
53 bool mustBeInNewChunks,
54 ::std::optional<::HashedString> const& biomeTag
55 ) /*override*/;
56
57 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
58 ::Dimension& dimension,
59 ::BiomeSource const& random,
60 ::Random& chunkPos,
61 ::ChunkPos const&,
63 ) /*override*/;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI AncientCityFeature(uint seed, ::BaseGameVersion const&);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(uint seed, ::BaseGameVersion const&);
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI bool $isFeatureChunk(
82 ::BiomeSource const& biomeSource,
83 ::Random& random,
84 ::ChunkPos const& chunkPos,
85 uint levelSeed,
87 ::Dimension const&
88 );
89
90 MCFOLD ::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 ::std::unique_ptr<::StructureStart> $createStructureStart(
103 ::Dimension& dimension,
104 ::BiomeSource const& random,
105 ::Random& chunkPos,
106 ::ChunkPos const&,
108 );
109
110
111 // NOLINTEND
112
113public:
114 // vftables
115 // NOLINTBEGIN
116 MCAPI static void** $vftable();
117 // NOLINTEND
118};
Definition BaseGameVersion.h:13
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