LeviLamina
Loading...
Searching...
No Matches
EndCityFeature.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
20class EndCityFeature : public ::StructureFeature {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::Dimension&> mDimension;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 EndCityFeature& operator=(EndCityFeature const&);
30 EndCityFeature(EndCityFeature const&);
31 EndCityFeature();
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual bool getNearestGeneratedFeature(
37 ::Dimension& dimension,
38 ::BiomeSource const& biomeSource,
39 ::BlockPos const& origin,
40 ::BlockPos& pos,
41 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
42 bool mustBeInNewChunks,
43 ::std::optional<::HashedString> const& biomeTag
44 ) /*override*/;
45
46 virtual bool shouldPostProcessMobs() const /*override*/;
47
48 virtual bool isFeatureChunk(
49 ::BiomeSource const&,
50 ::Random& random,
51 ::ChunkPos const& pos,
52 uint levelSeed,
53 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
54 ::Dimension const& dimension
55 ) /*override*/;
56
57 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
58 ::Dimension& dimension,
59 ::BiomeSource const&,
60 ::Random& random,
61 ::ChunkPos const& pos,
63 ) /*override*/;
64
65 virtual ~EndCityFeature() /*override*/ = default;
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI bool $getNearestGeneratedFeature(
72 ::Dimension& dimension,
73 ::BiomeSource const& biomeSource,
74 ::BlockPos const& origin,
75 ::BlockPos& pos,
76 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
77 bool mustBeInNewChunks,
78 ::std::optional<::HashedString> const& biomeTag
79 );
80
81 MCFOLD bool $shouldPostProcessMobs() const;
82
83 MCAPI bool $isFeatureChunk(
84 ::BiomeSource const&,
85 ::Random& random,
86 ::ChunkPos const& pos,
87 uint levelSeed,
88 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
89 ::Dimension const& dimension
90 );
91
92 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
93 ::Dimension& dimension,
94 ::BiomeSource const&,
95 ::Random& random,
96 ::ChunkPos const& pos,
98 );
99
100
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCAPI static void** $vftable();
107 // NOLINTEND
108};
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 Random.h:10
static MCAPI void ** $vftable()
Definition StructureStart.h:15