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 BlockPos;
14class BoundingBox;
16class LevelChunk;
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: 7
45 virtual ::Biome const* getBiome(::BlockPos const& blockPos) const /*override*/;
46
47 // vIndex: 6
48 virtual ::Biome const* getBiome(::GetBiomeOptions const& getBiomeOptions) const /*override*/;
49
50 // vIndex: 5
51 virtual ::Biome const* getBiome(int blockX, int blockY, int blockZ) const /*override*/;
52
53 // vIndex: 3
54 virtual ::BiomeArea getBiomeArea(::BoundingBox const& area, uint scale) const /*override*/;
55
56 // vIndex: 2
57 virtual ::BiomeArea
58 getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const& getBiomeOptions) const /*override*/;
59
60 // vIndex: 8
61 virtual bool hasBiomeById(::BiomeIdType id) const /*override*/;
62
63 // vIndex: 9
64 virtual bool hasBiomeByNameHash(uint64 hash) const /*override*/;
65
66 // vIndex: 10
67 virtual ::BiomeSourceType const getType() const /*override*/;
68
69 // vIndex: 0
70 virtual ~FixedBiomeSource() /*override*/ = default;
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCAPI void $fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const& chunkLocalNoiseCache) const;
77
78 MCAPI bool $containsOnly(int, int, int, int, ::gsl::span<::BiomeIdType const> allowed) const;
79
80 MCFOLD ::Biome const* $getBiome(::BlockPos const& blockPos) const;
81
82 MCFOLD ::Biome const* $getBiome(::GetBiomeOptions const& getBiomeOptions) const;
83
84 MCFOLD ::Biome const* $getBiome(int blockX, int blockY, int blockZ) const;
85
86 MCFOLD ::BiomeArea $getBiomeArea(::BoundingBox const& area, uint scale) const;
87
88 MCFOLD ::BiomeArea
89 $getBiomeArea(::BoundingBox const& area, uint scale, ::GetBiomeOptions const& getBiomeOptions) const;
90
91 MCAPI bool $hasBiomeById(::BiomeIdType id) const;
92
93 MCAPI bool $hasBiomeByNameHash(uint64 hash) const;
94
95 MCFOLD ::BiomeSourceType const $getType() const;
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftable();
102 // NOLINTEND
103};
Definition BiomeArea.h:11
Definition BiomeSource.h:20
Definition Biome.h:23
Definition BlockPos.h:17
Definition BoundingBox.h:13
Definition ChunkLocalNoiseCache.h:8
Definition FixedBiomeSource.h:21
static MCAPI void ** $vftable()
Definition LevelChunk.h:77
Definition BiomeIdType.h:8
Definition GetBiomeOptions.h:8