LeviLamina
Loading...
Searching...
No Matches
NetherFortressFeature.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 ChunkPos;
13class Dimension;
15class Random;
16class StructureStart;
17struct BiomeIdType;
18// clang-format on
19
20class NetherFortressFeature : public ::StructureFeature {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 24, ::std::vector<::BiomeIdType>> mAllowedBiomes;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 NetherFortressFeature();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
35
36 virtual bool shouldAddHardcodedSpawnAreas() const /*override*/;
37
38 virtual bool isFeatureChunk(
39 ::BiomeSource const& biomeSource,
40 ::Random& random,
41 ::ChunkPos const& chunkPos,
42 uint levelSeed,
43 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
44 ::Dimension const& dimension
45 ) /*override*/;
46
47 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
48 ::Dimension& generator,
49 ::BiomeSource const& biomeSource,
50 ::Random& random,
51 ::ChunkPos const& cp,
52 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel
53 ) /*override*/;
54
55 virtual ~NetherFortressFeature() /*override*/ = default;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI NetherFortressFeature(uint& seed, ::BaseGameVersion const& baseGameVersion);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(uint& seed, ::BaseGameVersion const& baseGameVersion);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
74
75 MCFOLD bool $shouldAddHardcodedSpawnAreas() const;
76
77 MCAPI bool $isFeatureChunk(
78 ::BiomeSource const& biomeSource,
79 ::Random& random,
80 ::ChunkPos const& chunkPos,
81 uint levelSeed,
82 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
83 ::Dimension const& dimension
84 );
85
86 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
87 ::Dimension& generator,
88 ::BiomeSource const& biomeSource,
89 ::Random& random,
90 ::ChunkPos const& cp,
91 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel
92 );
93
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCAPI static void** $vftable();
101 // NOLINTEND
102};
Definition BaseGameVersion.h:8
Definition BiomeSource.h:20
Definition ChunkPos.h:11
Definition Dimension.h:85
Definition IPreliminarySurfaceProvider.h:8
Definition Random.h:10
static MCAPI void ** $vftable()
Definition StructureStart.h:15
Definition BiomeIdType.h:8