LeviLamina
Loading...
Searching...
No Matches
UnderwaterCaveFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/CaveFeature.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BoundingBox;
12class ChunkPos;
14class Random;
15class Vec3;
16namespace CaveFeatureUtils { struct CarverConfiguration; }
17namespace CaveFeatureUtils { struct CarvingParameters; }
18// clang-format on
19
20class UnderwaterCaveFeature : public ::CaveFeature {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::Block const*> mAirReplacementBlock;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual bool carveEllipsoidVolume(
31 ::IBlockWorldGenAPI& target,
33 ::Random& random,
34 ::ChunkPos const& pos,
35 ::Vec3 const& startPos,
36 ::BoundingBox const& volume,
37 float rad,
38 float yRad,
40 ) const /*override*/;
41
42 virtual ~UnderwaterCaveFeature() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static bool isDiggable(::Block const& block);
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI bool $carveEllipsoidVolume(
55 ::IBlockWorldGenAPI& target,
57 ::Random& random,
58 ::ChunkPos const& pos,
59 ::Vec3 const& startPos,
60 ::BoundingBox const& volume,
61 float rad,
62 float yRad,
64 ) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition Block.h:43
Definition BoundingBox.h:13
Definition ChunkPos.h:11
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition UnderwaterCaveFeature.h:20
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition CarverConfiguration.h:14
Definition CarvingParameters.h:10