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 update(
37 ::IBlockWorldGenAPI& target,
38 ::BlockSource* region,
39 ::BlockPos const& originPos,
40 ::Random& random,
41 ::SculkSpreader& spreader,
42 bool spreadVeins
43 );
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static ::std::array<::BlockPos, 18> _getNonCornerNeighborsOffsets(::Random& random);
50
51 MCAPI static bool
52 _isMovementUnobstructed(::IBlockWorldGenAPI& target, ::BlockPos const& fromPos, ::BlockPos const& toPos);
53 // NOLINTEND
54
55public:
56 // static variables
57 // NOLINTBEGIN
58 MCAPI static ::DefaultSculkBehavior const& sDefaultSculkBehavior();
59
60 MCAPI static ::SculkBlockBehavior const& sSculkBlockBehavior();
61
62 MCAPI static ::SculkVeinBlockBehavior const& sSculkVeinBlockBehavior();
63 // NOLINTEND
64};
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition CompoundTag.h:13
Definition DefaultSculkBehavior.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkBlockBehavior.h:18
Definition SculkChargeCursor.h:20
Definition SculkSpreader.h:16
Definition SculkVeinBlockBehavior.h:18