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 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
48 // NOLINTEND
49
50public:
51 // vftables
52 // NOLINTBEGIN
53 MCNAPI static void** $vftable();
54 // NOLINTEND
55};
Definition BlockPos.h:17
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