LeviLamina
Loading...
Searching...
No Matches
SculkVeinBlockBehavior.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/SculkBehavior.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockPos;
12class BlockSource;
14class Random;
15class SculkSpreader;
16// clang-format on
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual int updateDecayDelay(int const) const /*override*/;
23
24 virtual int updateFacingData(int const, ::Block const& block) const /*override*/;
25
26 virtual bool canChangeBlockOnSpread() const /*override*/;
27
28 virtual bool attemptSpreadVeins(
29 ::IBlockWorldGenAPI& target,
30 ::BlockPos const& pos,
31 ::Block const& block,
32 int,
34 ) const /*override*/;
35
36 virtual int attemptUseCharge(
37 ::IBlockWorldGenAPI& target,
38 ::BlockSource* region,
39 ::BlockPos const&,
40 ::BlockPos const& pos,
41 int charge,
42 int,
43 ::Random& random,
44 ::SculkSpreader& spreader,
45 bool const spreadVeins
46 ) const /*override*/;
47
48 virtual void onDischarged(::IBlockWorldGenAPI& target, ::BlockSource* region, ::BlockPos const& pos) const
49 /*override*/;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static void
56 _cleanUpVeinsWithSculkSubstrate(::IBlockWorldGenAPI& target, ::BlockSource* region, ::BlockPos const& pos);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCFOLD int $updateDecayDelay(int const) const;
63
64 MCAPI int $updateFacingData(int const, ::Block const& block) const;
65
66 MCFOLD bool $canChangeBlockOnSpread() const;
67
68 MCAPI bool $attemptSpreadVeins(
69 ::IBlockWorldGenAPI& target,
70 ::BlockPos const& pos,
71 ::Block const& block,
72 int,
74 ) const;
75
76 MCAPI int $attemptUseCharge(
77 ::IBlockWorldGenAPI& target,
78 ::BlockSource* region,
79 ::BlockPos const&,
80 ::BlockPos const& pos,
81 int charge,
82 int,
83 ::Random& random,
84 ::SculkSpreader& spreader,
85 bool const spreadVeins
86 ) const;
87
88 MCAPI void $onDischarged(::IBlockWorldGenAPI& target, ::BlockSource* region, ::BlockPos const& pos) const;
89
90
91 // NOLINTEND
92};
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Block.h:41
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkBehavior.h:5
Definition SculkSpreader.h:18
Definition SculkVeinBlockBehavior.h:18