LeviLamina
Loading...
Searching...
No Matches
SculkPatchFeature.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/IntRange.h"
7#include "mc/world/level/levelgen/feature/IFeature.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
12class BlockDescriptor;
13class BlockPos;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mCanPlaceSculkPatchOn;
22 ::ll::TypedStorage<8, 8, ::Block const*> mBlock;
23 ::ll::TypedStorage<4, 4, float> mBlockPlacementChance;
24 ::ll::TypedStorage<4, 4, int> mCursorCount;
25 ::ll::TypedStorage<4, 4, int> mChargeAmount;
26 ::ll::TypedStorage<4, 4, int> mSpreadAttempts;
27 ::ll::TypedStorage<4, 4, int> mGrowthRounds;
28 ::ll::TypedStorage<4, 4, int> mSpreadRounds;
29 ::ll::TypedStorage<4, 8, ::IntRange> mExtraGrowthChance;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~SculkPatchFeature() /*override*/ = default;
37
38 // vIndex: 1
39 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI bool _canSpreadFrom(::IBlockWorldGenAPI& target, ::BlockPos const& originPos) const;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
Definition BlockDescriptor.h:20
Definition BlockPos.h:17
Definition Block.h:37
Definition IBlockWorldGenAPI.h:25
Definition IFeature.h:18
Definition SculkPatchFeature.h:17
static MCAPI void ** $vftable()
Definition IFeature.h:26
Definition context.h:5