LeviLamina
Loading...
Searching...
No Matches
SculkUtils.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;
12class Random;
13class SculkSpreader;
14// clang-format on
15
16namespace SculkUtils {
17// functions
18// NOLINTBEGIN
19#ifdef LL_PLAT_C
20MCAPI void addChargeEffects(::BlockSource& region, ::CompoundTag const& data, ::Random& random);
21
22MCAPI void addChargeEffects(::BlockSource& region, ::BlockPos const& pos, int charge, int facingData, ::Random& random);
23
24MCAPI void addChargePopEffects(::BlockSource& region, ::CompoundTag const& data, ::Random& random);
25
26MCAPI void addChargePopEffects(::BlockSource& region, ::BlockPos const& pos, ::Random& random);
27#endif
28
29MCAPI bool canSpreadIntoBlock(::IBlockWorldGenAPI& target, ::Block const& block, ::BlockPos const& pos);
30
31MCAPI ::std::set<::Block const*> generateSculkReplaceableBlocks();
32
33MCAPI ::std::set<::Block const*> generateSculkReplaceableBlocksWorldgen();
34
35MCAPI bool isSculkOrSculkVein(::Block const& block);
36
37MCAPI bool isSculkVeinWithSubstrateAccess(
38 ::IBlockWorldGenAPI& target,
39 ::Block const& block,
40 ::BlockPos const& pos,
41 ::SculkSpreader& spreader
42);
43
44MCAPI void
45requestChargeEffects(::IBlockWorldGenAPI& region, ::BlockSource* pos, ::BlockPos const& charge, int facingData, int);
46
47MCAPI void requestChargePopEffects(::IBlockWorldGenAPI& region, ::BlockSource* pos, ::BlockPos const&);
48// NOLINTEND
49
50} // namespace SculkUtils
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition CompoundTag.h:23
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkSpreader.h:18