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
18class SculkSpreader {
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 SculkSpreader();
35
36 MCAPI SculkSpreader(
37 bool isWorldGen,
38 int growthSpawnCost,
39 int noGrowthRadius,
40 int chargeDecayRate,
41 int additionalDecayRate
42 );
43
44 MCAPI void load(::CompoundTag const& tag);
45
46 MCAPI void save(::CompoundTag& tag) const;
47
48 MCAPI void updateCursors(
49 ::IBlockWorldGenAPI& target,
50 ::BlockSource* region,
51 ::BlockPos const& originPos,
52 ::Random& random,
53 bool spreadVeins
54 );
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor();
61
62 MCAPI void*
63 $ctor(bool isWorldGen, int growthSpawnCost, int noGrowthRadius, int chargeDecayRate, int additionalDecayRate);
64 // NOLINTEND
65};
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition CompoundTag.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkChargeCursor.h:16