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 MCNAPI explicit RandomScatteredLargeFeature(uint seed);
82 // NOLINTEND
83
84public:
85 // constructor thunks
86 // NOLINTBEGIN
87 MCNAPI void* $ctor(uint seed);
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
94 ::Dimension& dimension,
95 ::BiomeSource const& biomeSource,
96 ::BlockPos const& origin,
97 ::BlockPos& pos,
98 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
99 bool mustBeInNewChunks,
100 ::std::optional<::HashedString> const& biomeTag
101 );
102
103 MCNAPI bool $shouldAddHardcodedSpawnAreas() const;
104
105 MCNAPI bool $shouldPostProcessMobs() const;
106
107 MCNAPI bool $isFeatureChunk(
108 ::BiomeSource const& biomeSource,
109 ::Random& random,
110 ::ChunkPos const& pos,
111 uint levelSeed,
112 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel,
113 ::Dimension const& dimension
114 );
115
116 MCNAPI ::std::unique_ptr<::StructureStart> $createStructureStart(
117 ::Dimension& dimension,
118 ::BiomeSource const& biomeSource,
119 ::Random& random,
120 ::ChunkPos const& cp,
121 ::IPreliminarySurfaceProvider const& preliminarySurfaceLevel
122 );
123 // NOLINTEND
124
125public:
126 // vftables
127 // NOLINTBEGIN
128 MCNAPI static void** $vftable();
129 // NOLINTEND
130};
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 RandomScatteredLargeFeature.h:20
MCAPI ::std::unique_ptr<::StructureStart > $createStructureStart(::Dimension &dimension, ::BiomeSource const &biomeSource, ::Random &random, ::ChunkPos const &cp, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel)
MCAPI void * $ctor(uint seed)
static MCAPI void ** $vftable()
MCAPI RandomScatteredLargeFeature(uint seed)
MCAPI bool $getNearestGeneratedFeature(::Dimension &dimension, ::BiomeSource const &biomeSource, ::BlockPos const &origin, ::BlockPos &pos, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, bool mustBeInNewChunks, ::std::optional<::HashedString > const &biomeTag)
MCAPI bool $shouldPostProcessMobs() const
MCAPI bool $shouldAddHardcodedSpawnAreas() const
MCAPI bool $isFeatureChunk(::BiomeSource const &biomeSource, ::Random &random, ::ChunkPos const &pos, uint levelSeed, ::IPreliminarySurfaceProvider const &preliminarySurfaceLevel, ::Dimension const &dimension)
Definition Random.h:11
Definition StructureFeature.h:23
Definition StructureStart.h:15
Definition Alias.h:14