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 MCNAPI void load(::CompoundTag const& tag);
41
42 MCNAPI 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 MCNAPI static ::std::array<::BlockPos, 18> _getNonCornerNeighborsOffsets(::Random& random);
56
57 MCNAPI static ::SculkBehavior const& _getSculkBehavior(::Block const& block);
58
59 MCNAPI static bool
60 _isMovementUnobstructed(::IBlockWorldGenAPI& target, ::BlockPos const& fromPos, ::BlockPos const& toPos);
61 // NOLINTEND
62
63public:
64 // static variables
65 // NOLINTBEGIN
66 MCNAPI static ::DefaultSculkBehavior const& sDefaultSculkBehavior();
67
68 MCNAPI static ::SculkBlockBehavior const& sSculkBlockBehavior();
69
70 MCNAPI static ::SculkVeinBlockBehavior const& sSculkVeinBlockBehavior();
71 // NOLINTEND
72};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition CompoundTag.h:13
Definition DefaultSculkBehavior.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:11
Definition SculkBehavior.h:15
Definition SculkBlockBehavior.h:18
Definition SculkChargeCursor.h:20
static MCAPI ::std::array<::BlockPos, 18 > _getNonCornerNeighborsOffsets(::Random &random)
static MCAPI bool _isMovementUnobstructed(::IBlockWorldGenAPI &target, ::BlockPos const &fromPos, ::BlockPos const &toPos)
static MCAPI ::SculkBehavior const & _getSculkBehavior(::Block const &block)
MCAPI void load(::CompoundTag const &tag)
static MCAPI ::SculkVeinBlockBehavior const & sSculkVeinBlockBehavior()
static MCAPI ::SculkBlockBehavior const & sSculkBlockBehavior()
static MCAPI ::DefaultSculkBehavior const & sDefaultSculkBehavior()
MCAPI void update(::IBlockWorldGenAPI &target, ::BlockSource *region, ::BlockPos const &originPos, ::Random &random, ::SculkSpreader &spreader, bool spreadVeins)
Definition SculkSpreader.h:14
Definition SculkVeinBlockBehavior.h:18
Definition Alias.h:14