LeviLamina
Loading...
Searching...
No Matches
GeodeFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockDescriptor.h"
7#include "mc/world/level/levelgen/feature/IFeature.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12// clang-format on
13
14class GeodeFeature : public ::IFeature {
15public:
16 // GeodeFeature inner types define
17 enum class BlockType : uchar {
18 StandardSimple = 0,
19 Standard = 1,
20 ExtraSimple = 2,
21 Extra = 3,
22 Count = 4,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mFiller;
29 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mInnerLayer;
30 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mAlternateInnerLayer;
31 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mMiddleLayer;
32 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mOuterLayer;
33 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mInnerPlacements;
34 ::ll::TypedStorage<4, 4, int> mMinOuterWallDistance;
35 ::ll::TypedStorage<4, 4, int> mMaxOuterWallDistance;
36 ::ll::TypedStorage<4, 4, int> mMinDistributionPoints;
37 ::ll::TypedStorage<4, 4, int> mMaxDistributionPoints;
38 ::ll::TypedStorage<4, 4, int> mMinPointOffset;
39 ::ll::TypedStorage<4, 4, int> mMaxPointOffset;
40 ::ll::TypedStorage<4, 4, int> mMaxRadius;
41 ::ll::TypedStorage<4, 4, int> mCrackPointOffset;
42 ::ll::TypedStorage<4, 4, float> mGenerateCrackChance;
43 ::ll::TypedStorage<4, 4, float> mBaseCrackSize;
44 ::ll::TypedStorage<4, 4, float> mNoiseMultiplier;
45 ::ll::TypedStorage<4, 4, float> mUsePotentialPlacementsChance;
46 ::ll::TypedStorage<4, 4, float> mUseAlternateLayer0Chance;
47 ::ll::TypedStorage<1, 1, bool> mPlacementsRequireLayer0Alternate;
48 ::ll::TypedStorage<4, 4, int> mInvalidBlocksThreshold;
49 // NOLINTEND
50
51public:
52 // virtual functions
53 // NOLINTBEGIN
54 // vIndex: 1
55 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
56
57 // vIndex: 0
58 virtual ~GeodeFeature() /*override*/ = default;
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition BlockPos.h:17
Definition BlockType.h:84
Definition GeodeFeature.h:14
static MCAPI void ** $vftable()
Definition IFeature.h:18
Definition IFeature.h:26
Definition context.h:5