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 BiomeSource;
8class BlockLegacy;
9class BlockVolume;
10class ChunkPos;
11class Random;
12class Vec3;
13struct WorldGenContext;
14namespace CanyonFeatureUtils { struct CanyonConfiguration; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<2, 2, short const> mSeaLevel;
22 ::ll::TypedStorage<1, 1, bool> mAllowMegaCanyons;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 0
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 rad,
44 float yRad,
45 ::gsl::span<float const> widthRandomization,
47 ) const;
48
49 // vIndex: 1
50 virtual bool _isDiggable(::BlockLegacy const& block) const;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCNAPI void _addFeature(
57 ::BlockVolume& blocks,
58 ::BiomeSource const& localBiomeSource,
60 ::ChunkPos const& pos,
61 ::Random& random,
62 int x,
63 int z,
65 );
66
67 MCNAPI void _addTunnel(
68 ::BlockVolume& blocks,
69 ::BiomeSource const& localBiomeSource,
71 ::Random& random,
72 ::ChunkPos const& pos,
73 ::Vec3 const& startPos,
74 ::Vec3 const& originalStartPos,
75 float thickness,
76 float yRot,
77 float xRot,
78 int step,
79 int dist,
80 float yScale,
82 ) const;
83
84 MCNAPI void apply(
85 ::BlockVolume& blocks,
86 ::ChunkPos const& pos,
87 ::BiomeSource const& localBiomeSource,
89 ::Random& random,
90 uint levelSeed,
92 );
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCNAPI bool $_carve(
99 ::BlockVolume& blocks,
100 ::BiomeSource const& localBiomeSource,
102 ::Random&,
103 ::ChunkPos const& pos,
104 ::Vec3 const& startPos,
105 ::Vec3 const& originalStartPos,
106 int x0,
107 int x1,
108 int y0,
109 int y1,
110 int z0,
111 int z1,
112 float rad,
113 float yRad,
114 ::gsl::span<float const> widthRandomization,
116 ) const;
117
118 MCNAPI bool $_isDiggable(::BlockLegacy const& block) const;
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCNAPI static void** $vftable();
125 // NOLINTEND
126};
Definition BiomeSource.h:19
Definition BlockLegacy.h:88
Definition BlockVolume.h:13
Definition CanyonFeature.h:17
MCAPI bool $_carve(::BlockVolume &blocks, ::BiomeSource const &localBiomeSource, ::CanyonFeatureUtils::CanyonConfiguration const &canyonConfig, ::Random &, ::ChunkPos const &pos, ::Vec3 const &startPos, ::Vec3 const &originalStartPos, int x0, int x1, int y0, int y1, int z0, int z1, float rad, float yRad, ::gsl::span< float const > widthRandomization, ::WorldGenContext const &context) const
MCAPI void _addTunnel(::BlockVolume &blocks, ::BiomeSource const &localBiomeSource, ::CanyonFeatureUtils::CanyonConfiguration const &canyonConfig, ::Random &random, ::ChunkPos const &pos, ::Vec3 const &startPos, ::Vec3 const &originalStartPos, float thickness, float yRot, float xRot, int step, int dist, float yScale, ::WorldGenContext const &context) const
MCAPI bool $_isDiggable(::BlockLegacy const &block) const
MCAPI void apply(::BlockVolume &blocks, ::ChunkPos const &pos, ::BiomeSource const &localBiomeSource, ::CanyonFeatureUtils::CanyonConfiguration const &canyonConfig, ::Random &random, uint levelSeed, ::WorldGenContext const &context)
MCAPI void _addFeature(::BlockVolume &blocks, ::BiomeSource const &localBiomeSource, ::CanyonFeatureUtils::CanyonConfiguration const &canyonConfig, ::ChunkPos const &pos, ::Random &random, int x, int z, ::WorldGenContext const &context)
static MCAPI void ** $vftable()
Definition ChunkPos.h:11
Definition Random.h:11
Definition Vec3.h:10
Definition CanyonConfiguration.h:7
Definition WorldGenContext.h:13
Definition context.h:5