Skip to content
LeviMC
English
AutoLightDark
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/block/BlockDescriptor.h"
8#include "mc/world/level/levelgen/feature/IFeature.h"
9
10// auto generated forward declare list
11// clang-format off
12class Block;
13class BlockPos;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mCanPlaceSculkPatchOn;
21 ::ll::TypedStorage<8, 8, ::Block const*> mBlock;
22 ::ll::TypedStorage<4, 4, float> mBlockPlacementChance;
23 ::ll::TypedStorage<4, 4, int> mCursorCount;
24 ::ll::TypedStorage<4, 4, int> mChargeAmount;
25 ::ll::TypedStorage<4, 4, int> mSpreadAttempts;
26 ::ll::TypedStorage<4, 4, int> mGrowthRounds;
27 ::ll::TypedStorage<4, 4, int> mSpreadRounds;
28 ::ll::TypedStorage<4, 8, ::IntRange> mExtraGrowthChance;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~SculkPatchFeature() /*override*/ = default;
35
36 virtual ::std::optional<::BlockPos> place(::IFeature::PlacementContext const& context) const /*override*/;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42 MCNAPI ::std::optional<::BlockPos> $place(::IFeature::PlacementContext const& context) const;
43
44
45 // NOLINTEND
46};
Definition BlockPos.h:14
Definition Block.h:42
Definition IFeature.h:18
Definition SculkPatchFeature.h:16
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
Definition IFeature.h:26
Definition context.h:5