LeviLamina
Loading...
Searching...
No Matches
SculkChargeCursor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockSource;
11class CompoundTag;
14class Random;
16class SculkSpreader;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 12, ::BlockPos> mPos;
25 ::ll::TypedStorage<4, 4, int> mCharge;
26 ::ll::TypedStorage<4, 4, int> mUpdateDelay;
27 ::ll::TypedStorage<4, 4, int> mDecayDelay;
28 ::ll::TypedStorage<4, 4, int> mFacingData;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI void load(::CompoundTag const& tag);
35
36 MCAPI void save(::CompoundTag& tag) const;
37
38 MCAPI void update(
39 ::IBlockWorldGenAPI& target,
40 ::BlockSource* region,
41 ::BlockPos const& originPos,
42 ::Random& random,
43 ::SculkSpreader& spreader,
44 bool spreadVeins
45 );
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCAPI static ::std::optional<::BlockPos> _getValidMovementPos(
52 ::IBlockWorldGenAPI& target,
53 ::BlockPos const& pos,
54 ::SculkSpreader& spreader,
55 ::Random& random
56 );
57
58 MCAPI static bool
59 _isMovementUnobstructed(::IBlockWorldGenAPI& target, ::BlockPos const& fromPos, ::BlockPos const& toPos);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::DefaultSculkBehavior const& sDefaultSculkBehavior();
66
67 MCAPI static ::SculkBlockBehavior const& sSculkBlockBehavior();
68
69 MCAPI static ::SculkVeinBlockBehavior const& sSculkVeinBlockBehavior();
70 // NOLINTEND
71};
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition CompoundTag.h:23
Definition DefaultSculkBehavior.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkBlockBehavior.h:18
Definition SculkChargeCursor.h:20
Definition SculkSpreader.h:18
Definition SculkVeinBlockBehavior.h:18