LeviLamina
Loading...
Searching...
No Matches
Utils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/biome/components/vanilla/MountainAttributes.h"
7#include "mc/world/level/biome/surface/ISurfaceBuilder.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockPos;
13class BlockVolume;
15class Pos;
16class Random;
19// clang-format on
20
21namespace VanillaSurfaceBuilders::Utils {
22// functions
23// NOLINTBEGIN
24MCNAPI void _buildSurface(
25 ::SurfaceMaterialBlocks const& initialBlockPalette,
26 ::Block const* steepBlock,
27 ::SurfaceMaterialAdjustmentEvaluated const& evaluatedAdjustments,
28 ::Random& random,
29 ::BlockVolume& blocks,
30 ::BlockPos const& pos,
31 short seaLevel,
32 int runDepth,
33 bool coldEnoughForIce,
34 ::ISurfaceBuilder::WaterLevelStrategy waterLevelStrategy,
35 int lowerLimit,
36 ::HeightmapWrapper const& preWorldGenHeightmap,
37 bool useCCOrLater
38);
39
40MCNAPI void buildSurface(::ISurfaceBuilder::BuildParameters const& buildParameters);
41
42MCNAPI short findGroundHeight(::BlockVolume const& blocks, ::Pos p, ::HeightmapWrapper const& preWorldGenHeightmap);
43
44MCNAPI bool isSteepTerrain(
45 ::BlockVolume const& blocks,
46 ::BlockPos const& pos,
47 ::MountainAttributes::SteepMaterial const& steepMaterial,
48 ::HeightmapWrapper const& preWorldGenHeightmap
49);
50// NOLINTEND
51
52} // namespace VanillaSurfaceBuilders::Utils
Definition BlockPos.h:18
Definition BlockVolume.h:13
Definition Block.h:38
Definition HeightmapWrapper.h:5
Definition Pos.h:5
Definition Random.h:11
Definition ISurfaceBuilder.h:28
Definition MountainAttributes.h:17
Definition SurfaceMaterialAdjustmentEvaluated.h:10
Definition SurfaceMaterialBlocks.h:5