Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BiomeDecorationSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/GeneratorType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Biome;
11class BiomeRegistry;
12class BlockSource;
14class ChunkPos;
16class LevelChunk;
17class Random;
19// clang-format on
20
21namespace BiomeDecorationSystem {
22// functions
23// NOLINTBEGIN
24#ifdef LL_PLAT_C
25MCNAPI void consolidateDecorationFeatures(::BiomeRegistry& registry);
26#endif
27
28MCAPI void decorate(
29 ::LevelChunk& lc,
30 ::BlockSource& source,
31 ::Random& random,
32 ::gsl::span<::gsl::not_null<::Biome const*>> uniqueBiomes,
33 ::std::string const& pass,
34 ::IPreliminarySurfaceProvider const& preliminarySurfaceProvider
35);
36
37MCAPI bool decorateBiome(
38 ::LevelChunk& lc,
39 ::BlockSource& source,
40 ::Random& random,
41 ::gsl::span<::BiomeDecorationFeature const> featureList,
42 ::std::string const& pass,
43 ::Biome const* biome,
44 ::IPreliminarySurfaceProvider const& preliminarySurfaceProvider
45);
46
47MCAPI bool decorateLargeFeature(
48 ::GeneratorType generatorType,
49 uint const& seed,
50 ::BlockVolumeTarget& target,
51 ::Random& random,
52 ::gsl::span<::BiomeDecorationFeature const> featureList,
53 ::ChunkPos const& pos,
54 ::std::string const& pass
55);
56
57MCAPI void decorateLargeFeature(
58 ::Biome const& biome,
59 ::LevelChunk& lc,
60 ::BlockVolumeTarget& target,
61 ::Random& random,
62 ::ChunkPos const& pos,
63 ::std::string const& pass
64);
65// NOLINTEND
66
67} // namespace BiomeDecorationSystem
Definition BiomeRegistry.h:37
Definition Biome.h:23
Definition BlockSource.h:72
Definition BlockVolumeTarget.h:28
Definition ChunkPos.h:13
Definition IPreliminarySurfaceProvider.h:8
Definition LevelChunk.h:76
Definition Random.h:10
Definition BiomeDecorationFeature.h:15