Skip to content
LeviLamina

API Reference

On this page

Loading...
Searching...
No Matches
OverworldBiomeBuilder.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/biome/BiomeIdType.h"
7#include "mc/world/level/biome/climate_utils/Parameter.h"
8
9// auto generated forward declare list
10// clang-format off
11class BaseGameVersion;
12class Biome;
13class BiomeRegistry;
14class Experiments;
15struct BiomeNoiseTarget;
16// clang-format on
17
18class OverworldBiomeBuilder {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::ClimateUtils::Parameter const> FROZEN_RANGE;
23 ::ll::TypedStorage<8, 16, ::ClimateUtils::Parameter const> UNFROZEN_RANGE;
24 ::ll::TypedStorage<2, 20, ::BiomeIdType[2][5]> OCEANS_IDS;
25 ::ll::TypedStorage<2, 50, ::BiomeIdType[5][5]> MIDDLE_BIOMES_IDS;
26 ::ll::TypedStorage<2, 50, ::BiomeIdType[5][5]> MIDDLE_BIOMES_VARIANT_IDS;
27 ::ll::TypedStorage<2, 50, ::BiomeIdType[5][5]> PLATEAU_BIOMES_IDS;
28 ::ll::TypedStorage<2, 50, ::BiomeIdType[5][5]> PLATEAU_BIOMES_IDS_1_21_60;
29 ::ll::TypedStorage<2, 50, ::BiomeIdType[5][5]> PLATEAU_BIOMES_VARIANT_IDS;
30 ::ll::TypedStorage<2, 50, ::BiomeIdType[5][5]> PLATEAU_BIOMES_VARIANT_IDS_1_21_60;
31 ::ll::TypedStorage<2, 50, ::BiomeIdType[5][5]> EXTREME_HILLS_IDS;
32 ::ll::TypedStorage<8, 8, ::BaseGameVersion const&> mBaseGameVersion;
33 ::ll::TypedStorage<8, 8, ::Experiments const&> mExperiments;
34 ::ll::TypedStorage<8, 80, ::std::array<::std::array<::Biome const*, 5>, 2>> OCEANS;
35 ::ll::TypedStorage<8, 200, ::std::array<::std::array<::Biome const*, 5>, 5>> MIDDLE_BIOMES;
36 ::ll::TypedStorage<8, 200, ::std::array<::std::array<::Biome const*, 5>, 5>> MIDDLE_BIOMES_VARIANT;
37 ::ll::TypedStorage<8, 200, ::std::array<::std::array<::Biome const*, 5>, 5>> PLATEAU_BIOMES;
38 ::ll::TypedStorage<8, 200, ::std::array<::std::array<::Biome const*, 5>, 5>> PLATEAU_BIOMES_VARIANT;
39 ::ll::TypedStorage<8, 200, ::std::array<::std::array<::Biome const*, 5>, 5>> EXTREME_HILLS;
40 // NOLINTEND
41
42public:
43 // prevent constructor by default
44 OverworldBiomeBuilder& operator=(OverworldBiomeBuilder const&);
45 OverworldBiomeBuilder(OverworldBiomeBuilder const&);
46 OverworldBiomeBuilder();
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI void _addHighSlice(
52 ::std::vector<::BiomeNoiseTarget>& biomes,
53 ::ClimateUtils::Parameter const& weirdness,
54 ::BiomeRegistry const& biomeRegistry
55 ) const;
56
57 MCAPI void _addLowSlice(
58 ::std::vector<::BiomeNoiseTarget>& biomes,
59 ::ClimateUtils::Parameter const& weirdness,
60 ::BiomeRegistry const& biomeRegistry
61 ) const;
62
63 MCAPI void _addMidSlice(
64 ::std::vector<::BiomeNoiseTarget>& biomes,
65 ::ClimateUtils::Parameter const& weirdness,
66 ::BiomeRegistry const& biomeRegistry
67 ) const;
68
69 MCAPI void _addPeaks(
70 ::std::vector<::BiomeNoiseTarget>& biomes,
71 ::ClimateUtils::Parameter const& weirdness,
72 ::BiomeRegistry const& biomeRegistry
73 ) const;
74
75 MCAPI void _addSurfaceBiome(
76 ::std::vector<::BiomeNoiseTarget>& biomes,
77 ::ClimateUtils::Parameter const& temperature,
78 ::ClimateUtils::Parameter const& humidity,
79 ::ClimateUtils::Parameter const& continentalness,
80 ::ClimateUtils::Parameter const& erosion,
81 ::ClimateUtils::Parameter const& weirdness,
82 float offset,
83 ::Biome const* second
84 ) const;
85
86 MCAPI void _populateBiomeArrays(::BiomeRegistry const& biomeRegistry) const;
87 // NOLINTEND
88
89public:
90 // static variables
91 // NOLINTBEGIN
92 MCAPI static ::std::add_lvalue_reference_t<::ClimateUtils::Parameter const[]> EROSIONS();
93
94 MCAPI static ::ClimateUtils::Parameter const& FULL_RANGE();
95
96 MCAPI static ::std::add_lvalue_reference_t<::ClimateUtils::Parameter const[]> HUMIDITIES();
97
98 MCAPI static ::std::add_lvalue_reference_t<::ClimateUtils::Parameter const[]> TEMPERATURES();
99
100 MCAPI static ::ClimateUtils::Parameter const& coastContinentalness();
101
102 MCAPI static ::ClimateUtils::Parameter const& deepOceanContinentalness();
103
104 MCAPI static ::ClimateUtils::Parameter const& dripstoneCavesContinentalness();
105
106 MCAPI static ::ClimateUtils::Parameter const& farInlandContinentalness();
107
108 MCAPI static ::ClimateUtils::Parameter const& inlandContinentalness();
109
110 MCAPI static ::ClimateUtils::Parameter const& lushCavesHumidity();
111
112 MCAPI static ::ClimateUtils::Parameter const& midInlandContinentalness();
113
114 MCAPI static ::ClimateUtils::Parameter const& mushroomFieldsContinentalness();
115
116 MCAPI static ::ClimateUtils::Parameter const& nearInlandContinentalness();
117
118 MCAPI static ::ClimateUtils::Parameter const& oceanContinentalness();
119
120 MCAPI static ::ClimateUtils::Parameter const& sulfurCavesContinentalness();
121
122 MCAPI static ::ClimateUtils::Parameter const& sulfurCavesErosion();
123
124 MCAPI static ::ClimateUtils::Parameter const& sulfurCavesWeirdness();
125 // NOLINTEND
126};
Definition BaseGameVersion.h:8
Definition BiomeRegistry.h:37
Definition Biome.h:23
Definition Experiments.h:14
Definition BiomeNoiseTarget.h:13
Definition Parameter.h:7