LeviLamina
Loading...
Searching...
No Matches
ReplacementBiomeSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/biome/source/BiomeSource.h"
7#include "mc/world/level/biome/source/BiomeSourceType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Biome;
12class BiomeArea;
13class BlockPos;
14class BoundingBox;
16class LevelChunk;
18struct BiomeReplacement;
19struct GetBiomeOptions;
20// clang-format on
21
23public:
24 // ReplacementBiomeSource inner types declare
25 // clang-format off
28 // clang-format on
29
30 // ReplacementBiomeSource inner types define
32 public:
33 // member variables
34 // NOLINTBEGIN
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
45 };
46
48 public:
49 // member variables
50 // NOLINTBEGIN
53 // NOLINTEND
54
55 public:
56 // prevent constructor by default
60 };
61
62public:
63 // member variables
64 // NOLINTBEGIN
68 // NOLINTEND
69
70public:
71 // prevent constructor by default
75
76public:
77 // virtual functions
78 // NOLINTBEGIN
79 // vIndex: 1
80 virtual void fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const& chunkLocalNoiseCache) const
81 /*override*/;
82
83 // vIndex: 3
84 virtual ::BiomeArea getBiomeArea(::BoundingBox const& area, uint scale) const /*override*/;
85
86 // vIndex: 2
87 virtual ::BiomeArea
88 getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const& getBiomeOptionsIn) const /*override*/;
89
90 // vIndex: 4
91 virtual bool containsOnly(int xo, int yo, int zo, int r, ::gsl::span<uint64 const> allowed) const /*override*/;
92
93 // vIndex: 7
94 virtual ::Biome const* getBiome(::BlockPos const& blockPos) const /*override*/;
95
96 // vIndex: 6
97 virtual ::Biome const* getBiome(::GetBiomeOptions const& getBiomeOptions) const /*override*/;
98
99 // vIndex: 5
100 virtual ::Biome const* getBiome(int blockX, int blockY, int blockZ) const /*override*/;
101
102 // vIndex: 8
103 virtual bool has(uint64 id) const /*override*/;
104
105 // vIndex: 9
106 virtual bool hasByHashId(uint64 id) const /*override*/;
107
108 // vIndex: 10
109 virtual ::BiomeSourceType const getType() const /*override*/;
110
111 // vIndex: 0
112 virtual ~ReplacementBiomeSource() /*override*/;
113 // NOLINTEND
114
115public:
116 // member functions
117 // NOLINTBEGIN
119 ::XoroshiroPositionalRandomFactory const& random,
120 ::std::vector<::BiomeReplacement> const& biomeReplacements,
121 ::std::unique_ptr<::BiomeSource> wrappedBiomeSource
122 );
123
124 MCNAPI ::Biome const* tryReplace(::Biome const* targetBiome, ::BlockPos const& position) const;
125 // NOLINTEND
126
127public:
128 // constructor thunks
129 // NOLINTBEGIN
130 MCNAPI void* $ctor(
131 ::XoroshiroPositionalRandomFactory const& random,
132 ::std::vector<::BiomeReplacement> const& biomeReplacements,
133 ::std::unique_ptr<::BiomeSource> wrappedBiomeSource
134 );
135 // NOLINTEND
136
137public:
138 // destructor thunk
139 // NOLINTBEGIN
140 MCNAPI void $dtor();
141 // NOLINTEND
142
143public:
144 // virtual function thunks
145 // NOLINTBEGIN
146 MCNAPI void $fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const& chunkLocalNoiseCache) const;
147
148 MCNAPI ::BiomeArea $getBiomeArea(::BoundingBox const& area, uint scale) const;
149
150 MCNAPI ::BiomeArea
151 $getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const& getBiomeOptionsIn) const;
152
153 MCNAPI bool $containsOnly(int xo, int yo, int zo, int r, ::gsl::span<uint64 const> allowed) const;
154
155 MCNAPI ::Biome const* $getBiome(::BlockPos const& blockPos) const;
156
157 MCNAPI ::Biome const* $getBiome(::GetBiomeOptions const& getBiomeOptions) const;
158
159 MCNAPI ::Biome const* $getBiome(int blockX, int blockY, int blockZ) const;
160
161 MCNAPI bool $has(uint64 id) const;
162
163 MCNAPI bool $hasByHashId(uint64 id) const;
164
165 MCNAPI ::BiomeSourceType const $getType() const;
166 // NOLINTEND
167
168public:
169 // vftables
170 // NOLINTBEGIN
171 MCNAPI static void** $vftable();
172 // NOLINTEND
173};
Definition BiomeArea.h:11
Definition BiomeSource.h:19
Definition Biome.h:26
Definition BlockPos.h:18
Definition BoundingBox.h:13
Definition ChunkLocalNoiseCache.h:8
Definition LevelChunk.h:74
Definition ReplacementBiomeSource.h:22
MCAPI void * $ctor(::XoroshiroPositionalRandomFactory const &random, ::std::vector<::BiomeReplacement > const &biomeReplacements, ::std::unique_ptr<::BiomeSource > wrappedBiomeSource)
MCAPI bool $hasByHashId(uint64 id) const
MCAPI bool $has(uint64 id) const
MCAPI::Biome const * tryReplace(::Biome const *targetBiome, ::BlockPos const &position) const
MCAPI::BiomeArea $getBiomeArea(::BoundingBox const &area, uint scale) const
MCAPI::BiomeSourceType const $getType() const
static MCAPI void ** $vftable()
MCAPI void $fillBiomes(::LevelChunk &levelChunk, ::ChunkLocalNoiseCache const &chunkLocalNoiseCache) const
MCAPI bool $containsOnly(int xo, int yo, int zo, int r, ::gsl::span< uint64 const > allowed) const
MCAPI::Biome const * $getBiome(::BlockPos const &blockPos) const
Definition XoroshiroPositionalRandomFactory.h:16
STL namespace.
Definition BiomeReplacement.h:5
Definition GetBiomeOptions.h:5
Definition ReplacementBiomeSource.h:47
Definition ReplacementBiomeSource.h:31
Definition Alias.h:14