LeviLamina
Loading...
Searching...
No Matches
VillageFeature.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>> allowedBiomes;
26 ::ll::TypedStorage<4, 4, int> mTownSpacing;
27 ::ll::TypedStorage<4, 4, int> mMinTownSeparation;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 3
38 virtual ::gsl::span<::BiomeIdType const> getRequiredBiomes() const /*override*/;
39
40 // vIndex: 5
41 virtual bool isFeatureChunk(
42 ::BiomeSource const& biomeSource,
43 ::Random& random,
44 ::ChunkPos const& chunkPos,
45 uint levelSeed,
46 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
47 ::Dimension const&
48 ) /*override*/;
49
50 // vIndex: 4
51 virtual bool getNearestGeneratedFeature(
52 ::Dimension& dimension,
53 ::BiomeSource const& biomeSource,
54 ::BlockPos const& origin,
55 ::BlockPos& pos,
56 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
57 bool mustBeInNewChunks,
58 ::std::optional<::HashedString> const& biomeTag
59 ) /*override*/;
60
61 // vIndex: 2
62 virtual bool shouldPostProcessMobs() const /*override*/;
63
64 // vIndex: 6
65 virtual ::std::unique_ptr<::StructureStart> createStructureStart(
66 ::Dimension& generator,
67 ::BiomeSource const& biomeSource,
68 ::Random& random,
69 ::ChunkPos const& chunkPos,
70 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel
71 ) /*override*/;
72
73 // vIndex: 0
74 virtual ~VillageFeature() /*override*/ = default;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI VillageFeature(uint seed, int townSpacing, int minTownSeparation);
81 // NOLINTEND
82
83public:
84 // constructor thunks
85 // NOLINTBEGIN
86 MCAPI void* $ctor(uint seed, int townSpacing, int minTownSeparation);
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCFOLD ::gsl::span<::BiomeIdType const> $getRequiredBiomes() const;
93
94 MCAPI bool $isFeatureChunk(
95 ::BiomeSource const& biomeSource,
96 ::Random& random,
97 ::ChunkPos const& chunkPos,
98 uint levelSeed,
99 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
100 ::Dimension const&
101 );
102
103 MCAPI bool $getNearestGeneratedFeature(
104 ::Dimension& dimension,
105 ::BiomeSource const& biomeSource,
106 ::BlockPos const& origin,
107 ::BlockPos& pos,
108 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
109 bool mustBeInNewChunks,
110 ::std::optional<::HashedString> const& biomeTag
111 );
112
113 MCFOLD bool $shouldPostProcessMobs() const;
114
115 MCAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
116 ::Dimension& generator,
117 ::BiomeSource const& biomeSource,
118 ::Random& random,
119 ::ChunkPos const& chunkPos,
120 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel
121 );
122 // NOLINTEND
123
124public:
125 // vftables
126 // NOLINTBEGIN
127 MCNAPI static void** $vftable();
128 // NOLINTEND
129};
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 VillageFeature.h:21
static MCAPI void ** $vftable()
Definition BiomeIdType.h:8