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