LeviLamina
Loading...
Searching...
No Matches
SculkSpreader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
8class BlockPos;
9class BlockSource;
10class CompoundTag;
12class Random;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool> mIsWorldGen;
21 ::ll::TypedStorage<4, 4, int> mGrowthSpawnCost;
22 ::ll::TypedStorage<4, 4, int> mNoGrowthRadius;
23 ::ll::TypedStorage<4, 4, int> mChargeDecayRate;
24 ::ll::TypedStorage<4, 4, int> mAdditionalDecayRate;
25 ::ll::TypedStorage<8, 24, ::std::vector<::SculkChargeCursor>> mCursors;
26 ::ll::TypedStorage<8, 16, ::std::set<::Block const*>> mSculkReplaceableBlocks;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI void addCursors(::BlockPos const& pos, int charge);
33
34 MCAPI void save(::CompoundTag& tag) const;
35
36 MCAPI void updateCursors(
37 ::IBlockWorldGenAPI& target,
38 ::BlockSource* region,
39 ::BlockPos const& originPos,
40 ::Random& random,
41 bool spreadVeins
42 );
43
44 MCAPI ~SculkSpreader();
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCAPI void $dtor();
51 // NOLINTEND
52};
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition Block.h:37
Definition CompoundTag.h:13
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkChargeCursor.h:20
Definition SculkSpreader.h:16