Skip to content
LeviMC
English
AutoLightDark
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/deps/shared_types/shared_types/IntRange.h"
7#include "mc/util/value_providers/ClampedNormalFloat.h"
8#include "mc/util/value_providers/UniformFloat.h"
9#include "mc/util/value_providers/UniformInt.h"
10#include "mc/world/level/levelgen/feature/IFeature.h"
11#include "mc/world/level/levelgen/feature/SpeleothemClusterPlacementMode.h"
12
13// auto generated forward declare list
14// clang-format off
15class Block;
16class BlockPos;
17class HashedString;
18// clang-format on
19
20class SpeleothemClusterFeature : public ::IFeature {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::HashedString const&> mBaseBlock;
25 ::ll::TypedStorage<8, 8, ::HashedString const&> mSpeleothemBlock;
26 ::ll::TypedStorage<4, 8, ::SharedTypes::IntRange const> mHeightRange;
27 ::ll::TypedStorage<8, 8, ::std::vector<::std::reference_wrapper<::HashedString const>> const&> mReplaceableBlocks;
28 ::ll::TypedStorage<4, 16, ::ValueProviders::ClampedNormalFloat const> mWetness;
29 ::ll::TypedStorage<4, 8, ::ValueProviders::UniformInt const> mRadius;
30 ::ll::TypedStorage<4, 8, ::ValueProviders::UniformFloat const> mDensity;
31 ::ll::TypedStorage<4, 4, int const> mVerticalSearchRange;
32 ::ll::TypedStorage<4, 4, ::SpeleothemClusterPlacementMode const> mPlacementMode;
33 ::ll::TypedStorage<1, 1, bool const> mAllowWaterPlacement;
34 ::ll::TypedStorage<8, 64, ::std::function<::Block const&(::Block const&)> const> mBaseBlockTransformer;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 SpeleothemClusterFeature& operator=(SpeleothemClusterFeature const&);
40 SpeleothemClusterFeature(SpeleothemClusterFeature const&);
41 SpeleothemClusterFeature();
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCNAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
53
54
55 // NOLINTEND
56};
Definition BlockPos.h:14
Definition Block.h:42
Definition HashedString.h:5
Definition IFeature.h:18
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
Definition IFeature.h:26
Definition context.h:5