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& random,
50 ::Random& pos,
51 ::ChunkPos const& levelSeed,
52 uint preliminarySurfaceLevel,
53 ::IPreliminarySurfaceProvider const& dimension,
54 ::Dimension const&
55 ) /*override*/;
56
57 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
58 ::Dimension& dimension,
59 ::BiomeSource const& random,
60 ::Random& pos,
61 ::ChunkPos const&,
63 ) /*override*/;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCAPI EndCityFeature(::Dimension& dimension, uint& seed);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(::Dimension& dimension, uint& seed);
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI bool $getNearestGeneratedFeature(
82 ::Dimension& dimension,
83 ::BiomeSource const& biomeSource,
84 ::BlockPos const& origin,
85 ::BlockPos& pos,
86 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
87 bool mustBeInNewChunks,
88 ::std::optional<::HashedString> const& biomeTag
89 );
90
91 MCFOLD bool $shouldPostProcessMobs() const;
92
93 MCAPI bool $isFeatureChunk(
94 ::BiomeSource const& random,
95 ::Random& pos,
96 ::ChunkPos const& levelSeed,
97 uint preliminarySurfaceLevel,
98 ::IPreliminarySurfaceProvider const& dimension,
99 ::Dimension const&
100 );
101
102 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
103 ::Dimension& dimension,
104 ::BiomeSource const& random,
105 ::Random& pos,
106 ::ChunkPos const&,
108 );
109
110
111 // NOLINTEND
112
113public:
114 // vftables
115 // NOLINTBEGIN
116 MCAPI static void** $vftable();
117 // NOLINTEND
118};
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