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
70 // NOLINTEND
71
72public:
73 // prevent constructor by default
77
78public:
79 // virtual functions
80 // NOLINTBEGIN
81 // vIndex: 1
82 virtual void fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const& chunkLocalNoiseCache) const
83 /*override*/;
84
85 // vIndex: 3
86 virtual ::BiomeArea getBiomeArea(::BoundingBox const& area, uint scale) const /*override*/;
87
88 // vIndex: 2
89 virtual ::BiomeArea
90 getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const& getBiomeOptionsIn) const /*override*/;
91
92 // vIndex: 4
93 virtual bool containsOnly(int xo, int yo, int zo, int r, ::gsl::span<uint64 const> allowed) const /*override*/;
94
95 // vIndex: 7
96 virtual ::Biome const* getBiome(::BlockPos const& blockPos) const /*override*/;
97
98 // vIndex: 6
99 virtual ::Biome const* getBiome(::GetBiomeOptions const& getBiomeOptions) const /*override*/;
100
101 // vIndex: 5
102 virtual ::Biome const* getBiome(int blockX, int blockY, int blockZ) const /*override*/;
103
104 // vIndex: 8
105 virtual bool hasBiomeById(ushort id) const /*override*/;
106
107 // vIndex: 9
108 virtual bool hasBiomeByNameHash(uint64 hash) const /*override*/;
109
110 // vIndex: 10
111 virtual ::BiomeSourceType const getType() const /*override*/;
112
113 // vIndex: 0
114 virtual ~ReplacementBiomeSource() /*override*/;
115 // NOLINTEND
116
117public:
118 // member functions
119 // NOLINTBEGIN
121 ::XoroshiroPositionalRandomFactory const& random,
122 ::std::vector<::BiomeReplacement> const& biomeReplacements,
123 ::std::unique_ptr<::BiomeSource> wrappedBiomeSource
124 );
125
126 MCNAPI bool fullyReplacesBiomeByNameHash(uint64 hash) const;
127
128 MCNAPI ::Biome const* tryReplace(::Biome const* targetBiome, ::BlockPos const& position) const;
129 // NOLINTEND
130
131public:
132 // constructor thunks
133 // NOLINTBEGIN
134 MCNAPI void* $ctor(
135 ::XoroshiroPositionalRandomFactory const& random,
136 ::std::vector<::BiomeReplacement> const& biomeReplacements,
137 ::std::unique_ptr<::BiomeSource> wrappedBiomeSource
138 );
139 // NOLINTEND
140
141public:
142 // destructor thunk
143 // NOLINTBEGIN
144 MCNAPI void $dtor();
145 // NOLINTEND
146
147public:
148 // virtual function thunks
149 // NOLINTBEGIN
150 MCNAPI void $fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const& chunkLocalNoiseCache) const;
151
152 MCNAPI ::BiomeArea $getBiomeArea(::BoundingBox const& area, uint scale) const;
153
154 MCNAPI ::BiomeArea
155 $getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const& getBiomeOptionsIn) const;
156
157 MCNAPI bool $containsOnly(int xo, int yo, int zo, int r, ::gsl::span<uint64 const> allowed) const;
158
159 MCNAPI ::Biome const* $getBiome(::BlockPos const& blockPos) const;
160
161 MCNAPI ::Biome const* $getBiome(::GetBiomeOptions const& getBiomeOptions) const;
162
163 MCNAPI ::Biome const* $getBiome(int blockX, int blockY, int blockZ) const;
164
165 MCNAPI bool $hasBiomeById(ushort id) const;
166
167 MCNAPI bool $hasBiomeByNameHash(uint64 hash) const;
168
169 MCNAPI ::BiomeSourceType const $getType() const;
170 // NOLINTEND
171
172public:
173 // vftables
174 // NOLINTBEGIN
175 MCNAPI static void** $vftable();
176 // NOLINTEND
177};
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 fullyReplacesBiomeByNameHash(uint64 hash) 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
MCAPI bool $hasBiomeByNameHash(uint64 hash) const
static MCAPI void ** $vftable()
MCAPI void $fillBiomes(::LevelChunk &levelChunk, ::ChunkLocalNoiseCache const &chunkLocalNoiseCache) const
MCAPI bool $hasBiomeById(ushort id) 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