Skip to content
LeviMC
English
AutoLightDark
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 MCNAPI SculkSpreader();
35
37 bool isWorldGen,
38 int growthSpawnCost,
39 int noGrowthRadius,
40 int chargeDecayRate,
41 int additionalDecayRate
42 );
43
44 MCNAPI void load(::CompoundTag const& tag);
45
46 MCNAPI void save(::CompoundTag& tag) const;
47
48 MCNAPI 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 MCNAPI void* $ctor();
61
62 MCNAPI void*
63 $ctor(bool isWorldGen, int growthSpawnCost, int noGrowthRadius, int chargeDecayRate, int additionalDecayRate);
64 // NOLINTEND
65};
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition CompoundTag.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkChargeCursor.h:16
MCAPI void load(::CompoundTag const &tag)
MCAPI void updateCursors(::IBlockWorldGenAPI &target, ::BlockSource *region, ::BlockPos const &originPos, ::Random &random, bool spreadVeins)
MCAPI void save(::CompoundTag &tag) const
MCAPI SculkSpreader()
MCAPI void * $ctor()
MCAPI SculkSpreader(bool isWorldGen, int growthSpawnCost, int noGrowthRadius, int chargeDecayRate, int additionalDecayRate)
MCAPI void * $ctor(bool isWorldGen, int growthSpawnCost, int noGrowthRadius, int chargeDecayRate, int additionalDecayRate)