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 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI bool $getNearestGeneratedFeature(
70 ::Dimension& dimension,
71 ::BiomeSource const& biomeSource,
72 ::BlockPos const& origin,
73 ::BlockPos& pos,
74 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
75 bool mustBeInNewChunks,
76 ::std::optional<::HashedString> const& biomeTag
77 );
78
79 MCFOLD bool $shouldPostProcessMobs() const;
80
81 MCAPI bool $isFeatureChunk(
82 ::BiomeSource const&,
83 ::Random& random,
84 ::ChunkPos const& pos,
85 uint levelSeed,
86 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
87 ::Dimension const& dimension
88 );
89
90 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
91 ::Dimension& dimension,
92 ::BiomeSource const&,
93 ::Random& random,
94 ::ChunkPos const& pos,
96 );
97
98
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCAPI static void** $vftable();
105 // NOLINTEND
106};
Definition BiomeSource.h:23
Definition BlockPos.h:17
Definition ChunkPos.h:13
Definition Dimension.h:86
Definition HashedString.h:5
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
static MCAPI void ** $vftable()
Definition StructureStart.h:15