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 // vIndex: 1
20 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
21
22 // vIndex: 0
23 virtual ~DripstoneClusterFeature() /*override*/ = default;
24 // NOLINTEND
25
26public:
27 // static functions
28 // NOLINTBEGIN
29 MCAPI static int _getDripstoneHeight(::Random& random, int dx, int dz, float density, int maxHeight);
30
31 MCAPI static bool _placeColumn(
32 ::IBlockWorldGenAPI& target,
33 ::Random& random,
34 ::BlockPos const& pos,
35 int dx,
36 int dz,
37 float chanceOfWater,
38 double chanceOfStalagmiteOrStalactite,
39 int clusterHeight,
40 float density
41 );
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCAPI static void** $vftable();
60 // NOLINTEND
61};
Definition BlockPos.h:18
Definition DripstoneClusterFeature.h:15
Definition IBlockWorldGenAPI.h:25
Definition IFeature.h:13
Definition Random.h:16
Definition IFeature.h:21
Definition context.h:5