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