LeviLamina
Loading...
Searching...
No Matches
DripstoneClusterFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/feature/IFeature.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
12class Random;
13// clang-format on
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
20
21 virtual ~DripstoneClusterFeature() /*override*/ = default;
22 // NOLINTEND
23
24public:
25 // static functions
26 // NOLINTBEGIN
27 MCAPI static int _getDripstoneHeight(::Random& random, int dx, int dz, float density, int maxHeight);
28
29 MCAPI static bool _placeColumn(
30 ::IBlockWorldGenAPI& target,
31 ::Random& random,
32 ::BlockPos const& pos,
33 int dx,
34 int dz,
35 float chanceOfWater,
36 double chanceOfStalagmiteOrStalactite,
37 int clusterHeight,
38 float density
39 );
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
46
47
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCNAPI static void** $vftable();
54 // NOLINTEND
55};
Definition BlockPos.h:19
Definition DripstoneClusterFeature.h:15
static MCAPI void ** $vftable()
Definition IBlockWorldGenAPI.h:25
Definition IFeature.h:18
Definition Random.h:10
Definition IFeature.h:26
Definition context.h:5