Skip to content
LeviMC
English
AutoLightDark
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;
13// clang-format on
14
15namespace SculkUtils {
16// functions
17// NOLINTBEGIN
18#ifdef LL_PLAT_C
19MCNAPI void addChargeEffects(::BlockSource& region, ::CompoundTag const& data, ::Random& random);
20
21MCNAPI void
22addChargeEffects(::BlockSource& region, ::BlockPos const& pos, int charge, int facingData, ::Random& random);
23
24MCNAPI void addChargePopEffects(::BlockSource& region, ::CompoundTag const& data, ::Random& random);
25
26MCNAPI void addChargePopEffects(::BlockSource& region, ::BlockPos const& pos, ::Random& random);
27#endif
28
29MCNAPI bool canSpreadIntoBlock(::IBlockWorldGenAPI& target, ::Block const& block, ::BlockPos const& pos);
30
31MCNAPI ::std::set<::Block const*> generateSculkReplaceableBlocks();
32
33MCNAPI ::std::set<::Block const*> generateSculkReplaceableBlocksWorldgen();
34// NOLINTEND
35
36} // namespace SculkUtils
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition CompoundTag.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10