LeviLamina
Loading...
Searching...
No Matches
CanyonFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BiomeRegistry;
8class BiomeSource;
9class BlockType;
10class BlockVolume;
11class ChunkPos;
12class Random;
13class Vec3;
14struct WorldGenContext;
15namespace CanyonFeatureUtils { struct CanyonConfiguration; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<2, 2, short const> mSeaLevel;
23 ::ll::TypedStorage<1, 1, bool> mAllowMegaCanyons;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual bool _carve(
30 ::BlockVolume& blocks,
31 ::BiomeSource const& localBiomeSource,
33 ::Random&,
34 ::ChunkPos const& pos,
35 ::Vec3 const& startPos,
36 ::Vec3 const& originalStartPos,
37 int x0,
38 int x1,
39 int y0,
40 int y1,
41 int z0,
42 int z1,
43 float horizontalRadius,
44 float verticalRadius,
45 ::gsl::span<float const> widthRandomization,
47 ::BiomeRegistry const& biomeRegistry
48 ) const;
49
50 virtual bool _isDiggable(::BlockType const& block) const;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI void _addFeature(
57 ::BlockVolume& blocks,
58 ::BiomeSource const& localBiomeSource,
60 ::ChunkPos const& pos,
61 ::Random& random,
62 int chunkX,
63 int chunkZ,
65 ::BiomeRegistry const& biomeRegistry
66 );
67
68 MCAPI void apply(
69 ::BlockVolume& blocks,
70 ::ChunkPos const& pos,
71 ::BiomeSource const& localBiomeSource,
73 ::Random& random,
74 uint levelSeed,
76 ::BiomeRegistry const& biomeRegistry
77 );
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI bool $_carve(
84 ::BlockVolume& blocks,
85 ::BiomeSource const& localBiomeSource,
87 ::Random&,
88 ::ChunkPos const& pos,
89 ::Vec3 const& startPos,
90 ::Vec3 const& originalStartPos,
91 int x0,
92 int x1,
93 int y0,
94 int y1,
95 int z0,
96 int z1,
97 float horizontalRadius,
98 float verticalRadius,
99 ::gsl::span<float const> widthRandomization,
101 ::BiomeRegistry const& biomeRegistry
102 ) const;
103
104 MCAPI bool $_isDiggable(::BlockType const& block) const;
105
106
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCNAPI static void** $vftable();
113 // NOLINTEND
114};
Definition BiomeRegistry.h:37
Definition BiomeSource.h:23
Definition BlockType.h:79
Definition BlockVolume.h:14
Definition CanyonFeature.h:18
static MCAPI void ** $vftable()
Definition ChunkPos.h:13
Definition Random.h:10
Definition Vec3.h:10
Definition CanyonConfiguration.h:7
Definition WorldGenContext.h:13
Definition context.h:5