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 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<8, 24, ::std::vector<::BiomeIdType>> mAllowedBiomes;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 5
32 virtual bool isFeatureChunk(
33 ::BiomeSource const& biomeSource,
34 ::Random& random,
35 ::ChunkPos const& chunkPos,
36 uint levelSeed,
38 ::Dimension const&
39 ) /*override*/;
40
41 // vIndex: 3
42 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
43
44 // vIndex: 4
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 // vIndex: 6
56 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
57 ::Dimension& dimension,
58 ::BiomeSource const&,
59 ::Random& random,
60 ::ChunkPos const& chunkPos,
62 ) /*override*/;
63
64 // vIndex: 0
65 virtual ~AncientCityFeature() /*override*/ = default;
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI bool $isFeatureChunk(
72 ::BiomeSource const& biomeSource,
73 ::Random& random,
74 ::ChunkPos const& chunkPos,
75 uint levelSeed,
77 ::Dimension const&
78 );
79
80 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
81
82 MCAPI bool $getNearestGeneratedFeature(
83 ::Dimension& dimension,
84 ::BiomeSource const& biomeSource,
85 ::BlockPos const& origin,
86 ::BlockPos& pos,
87 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
88 bool mustBeInNewChunks,
89 ::std::optional<::HashedString> const& biomeTag
90 );
91
92 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
93 ::Dimension& dimension,
94 ::BiomeSource const&,
95 ::Random& random,
96 ::ChunkPos const& chunkPos,
98 );
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCAPI static void** $vftable();
105 // NOLINTEND
106};
Definition AncientCityFeature.h:21
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 Random.h:10
Definition StructureFeature.h:24
Definition StructureStart.h:15
Definition BiomeIdType.h:8