LeviLamina
Loading...
Searching...
No Matches
SpeleothemClusterFeature.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;
11class HashedString;
13class Random;
14// clang-format on
15
16class SpeleothemClusterFeature : public ::IFeature {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::HashedString const&> mBaseBlock;
21 ::ll::TypedStorage<8, 8, ::HashedString const&> mPointedBlock;
22 ::ll::TypedStorage<8, 8, ::std::vector<::std::reference_wrapper<::HashedString const>> const&> mReplaceableBlocks;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 SpeleothemClusterFeature& operator=(SpeleothemClusterFeature const&);
28 SpeleothemClusterFeature(SpeleothemClusterFeature const&);
29 SpeleothemClusterFeature();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI bool _placeColumn(
41 ::IBlockWorldGenAPI& target,
42 ::Random& random,
43 ::BlockPos const& pos,
44 int dx,
45 int dz,
46 float chanceOfWater,
47 double chanceOfStalagmiteOrStalactite,
48 int clusterHeight,
49 float density
50 ) const;
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
57
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition BlockPos.h:21
Definition HashedString.h:5
Definition IBlockWorldGenAPI.h:25
Definition IFeature.h:19
Definition Random.h:10
static MCAPI void ** $vftable()
Definition IFeature.h:27
Definition context.h:5