LeviLamina
Loading...
Searching...
No Matches
SculkChargeCursor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
8class BlockPos;
9class BlockSource;
10class CompoundTag;
13class Random;
14class SculkBehavior;
16class SculkSpreader;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 SculkChargeCursor& operator=(SculkChargeCursor const&);
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI void load(::CompoundTag const& tag);
41
42 MCAPI void update(
43 ::IBlockWorldGenAPI& target,
44 ::BlockSource* region,
45 ::BlockPos const& originPos,
46 ::Random& random,
47 ::SculkSpreader& spreader,
48 bool spreadVeins
49 );
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static ::std::array<::BlockPos, 18> _getNonCornerNeighborsOffsets(::Random& random);
56
57 MCAPI static ::SculkBehavior const& _getSculkBehavior(::Block const& block);
58
59 MCAPI static bool
60 _isMovementUnobstructed(::IBlockWorldGenAPI& target, ::BlockPos const& fromPos, ::BlockPos const& toPos);
61 // NOLINTEND
62
63public:
64 // static variables
65 // NOLINTBEGIN
66 MCAPI static ::DefaultSculkBehavior const& sDefaultSculkBehavior();
67
68 MCAPI static ::SculkBlockBehavior const& sSculkBlockBehavior();
69
70 MCAPI static ::SculkVeinBlockBehavior const& sSculkVeinBlockBehavior();
71 // NOLINTEND
72};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition CompoundTag.h:13
Definition DefaultSculkBehavior.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:16
Definition SculkBehavior.h:15
Definition SculkBlockBehavior.h:18
Definition SculkChargeCursor.h:20
Definition SculkSpreader.h:14
Definition SculkVeinBlockBehavior.h:18
Definition Alias.h:14