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