LeviLamina
Loading...
Searching...
No Matches
FixedBiomeSource.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 BoundingBox;
15class LevelChunk;
16struct BiomeHashType;
17struct BiomeIdType;
18struct GetBiomeOptions;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::Biome const&> mFixedBiome;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 FixedBiomeSource& operator=(FixedBiomeSource const&);
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 1
38 virtual void fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const* chunkLocalNoiseCache) const
39 /*override*/;
40
41 // vIndex: 4
42 virtual bool containsOnly(int, int, int, int, ::gsl::span<::BiomeIdType const> allowed) const /*override*/;
43
44 // vIndex: 3
45 virtual ::BiomeArea getBiomeArea(::BoundingBox const& area, uint scale) const /*override*/;
46
47 // vIndex: 2
48 virtual ::BiomeArea
49 getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const& getBiomeOptions) const /*override*/;
50
51 // vIndex: 5
52 virtual bool hasBiomeById(::BiomeIdType id) const /*override*/;
53
54 // vIndex: 6
55 virtual bool hasBiomeByNameHash(::BiomeHashType hash) const /*override*/;
56
57 // vIndex: 7
58 virtual ::BiomeSourceType const getType() const /*override*/;
59
60 // vIndex: 8
61 virtual ::Biome const* _getBiome(::GetBiomeOptions const&) const /*override*/;
62
63 // vIndex: 0
64 virtual ~FixedBiomeSource() /*override*/ = default;
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const* chunkLocalNoiseCache) const;
71
72 MCAPI bool $containsOnly(int, int, int, int, ::gsl::span<::BiomeIdType const> allowed) const;
73
74 MCFOLD ::BiomeArea $getBiomeArea(::BoundingBox const& area, uint scale) const;
75
76 MCFOLD ::BiomeArea
77 $getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const& getBiomeOptions) const;
78
79 MCAPI bool $hasBiomeById(::BiomeIdType id) const;
80
81 MCAPI bool $hasBiomeByNameHash(::BiomeHashType hash) const;
82
83 MCFOLD ::BiomeSourceType const $getType() const;
84
85 MCFOLD ::Biome const* $_getBiome(::GetBiomeOptions const&) const;
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition BiomeArea.h:11
Definition BiomeSource.h:20
Definition Biome.h:23
Definition BoundingBox.h:13
Definition ChunkLocalNoiseCache.h:8
Definition FixedBiomeSource.h:21
static MCAPI void ** $vftable()
Definition LevelChunk.h:78
Definition BiomeHashType.h:8
Definition BiomeIdType.h:8
Definition GetBiomeOptions.h:8