LeviLamina
Loading...
Searching...
No Matches
BiomeSource3d.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/block/tessellation_pipeline/VolumeOf.h"
7#include "mc/world/level/biome/biomeproviders/BlendedMultiNoiseBiomeProvider.h"
8#include "mc/world/level/biome/source/BiomeSource.h"
9#include "mc/world/level/biome/source/BiomeSourceType.h"
10#include "mc/world/level/dimension/DimensionHeightRange.h"
11
12// auto generated forward declare list
13// clang-format off
14class Biome;
15class BiomeArea;
16class BlockPos;
17class BoundingBox;
19class LevelChunk;
20struct BiomeIdType;
21struct GetBiomeOptions;
22// clang-format on
23
25public:
26 // BiomeSource3d inner types declare
27 // clang-format off
28 struct BiomeData;
29 // clang-format on
30
31 // BiomeSource3d inner types define
32 struct BiomeData {
33 public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<8, 8, ::Biome const*> biome;
37 ::ll::TypedStorage<1, 1, bool> needsBlending;
38 // NOLINTEND
39 };
40
41public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 216, ::BlendedMultiNoiseBiomeProvider> mBiomeProvider;
45 ::ll::TypedStorage<2, 4, ::DimensionHeightRange const> mDimensionHeight;
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
51
52public:
53 // virtual functions
54 // NOLINTBEGIN
55 // vIndex: 1
56 virtual void fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const& chunkLocalNoiseCache) const
57 /*override*/;
58
59 // vIndex: 3
60 virtual ::BiomeArea getBiomeArea(::BoundingBox const& box, uint scale) const /*override*/;
61
62 // vIndex: 2
63 virtual ::BiomeArea
64 getBiomeArea(::BoundingBox const& box, uint scale, ::GetBiomeOptions const& getBiomeOptionsIn) const /*override*/;
65
66 // vIndex: 4
67 virtual bool containsOnly(int xo, int yo, int zo, int r, ::gsl::span<::BiomeIdType const> allowed) const
68 /*override*/;
69
70 // vIndex: 7
71 virtual ::Biome const* getBiome(::BlockPos const& blockPos) const /*override*/;
72
73 // vIndex: 6
74 virtual ::Biome const* getBiome(::GetBiomeOptions const& getBiomeOptions) const /*override*/;
75
76 // vIndex: 5
77 virtual ::Biome const* getBiome(int blockX, int blockY, int blockZ) const /*override*/;
78
79 // vIndex: 8
80 virtual bool hasBiomeById(::BiomeIdType id) const /*override*/;
81
82 // vIndex: 9
83 virtual bool hasBiomeByNameHash(uint64 hash) const /*override*/;
84
85 // vIndex: 10
86 virtual ::BiomeSourceType const getType() const /*override*/;
87
88 // vIndex: 0
89 virtual ~BiomeSource3d() /*override*/;
90 // NOLINTEND
91
92public:
93 // member functions
94 // NOLINTBEGIN
95 MCAPI BiomeSource3d(::BlendedMultiNoiseBiomeProvider biomeProvider, ::DimensionHeightRange dimensionHeight);
96
97 MCAPI ::ClientBlockPipeline::VolumeOf<::Biome const*>
98 getBiomeVolumeToFill(::LevelChunk const& levelChunk, ::ChunkLocalNoiseCache const& chunkLocalNoiseCache) const;
99 // NOLINTEND
100
101public:
102 // constructor thunks
103 // NOLINTBEGIN
104 MCAPI void* $ctor(::BlendedMultiNoiseBiomeProvider biomeProvider, ::DimensionHeightRange dimensionHeight);
105 // NOLINTEND
106
107public:
108 // destructor thunk
109 // NOLINTBEGIN
110 MCAPI void $dtor();
111 // NOLINTEND
112
113public:
114 // virtual function thunks
115 // NOLINTBEGIN
116 MCAPI void $fillBiomes(::LevelChunk& levelChunk, ::ChunkLocalNoiseCache const& chunkLocalNoiseCache) const;
117
118 MCFOLD ::BiomeArea $getBiomeArea(::BoundingBox const& box, uint scale) const;
119
120 MCAPI ::BiomeArea
121 $getBiomeArea(::BoundingBox const& box, uint scale, ::GetBiomeOptions const& getBiomeOptionsIn) const;
122
123 MCAPI bool $containsOnly(int xo, int yo, int zo, int r, ::gsl::span<::BiomeIdType const> allowed) const;
124
125 MCFOLD ::Biome const* $getBiome(::BlockPos const& blockPos) const;
126
127 MCAPI ::Biome const* $getBiome(::GetBiomeOptions const& getBiomeOptions) const;
128
129 MCAPI ::Biome const* $getBiome(int blockX, int blockY, int blockZ) const;
130
131 MCAPI bool $hasBiomeById(::BiomeIdType id) const;
132
133 MCAPI bool $hasBiomeByNameHash(uint64 hash) const;
134
135 MCFOLD ::BiomeSourceType const $getType() const;
136 // NOLINTEND
137
138public:
139 // vftables
140 // NOLINTBEGIN
141 MCNAPI static void** $vftable();
142 // NOLINTEND
143};
Definition BiomeArea.h:11
Definition BiomeSource3d.h:24
static MCAPI void ** $vftable()
Definition BiomeSource.h:20
Definition Biome.h:23
Definition BlendedMultiNoiseBiomeProvider.h:20
Definition BlockPos.h:17
Definition BoundingBox.h:13
Definition ChunkLocalNoiseCache.h:8
Definition DimensionHeightRange.h:5
Definition LevelChunk.h:77
Definition BiomeIdType.h:8
Definition BiomeSource3d.h:32
Definition GetBiomeOptions.h:8