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