LeviLamina
Loading...
Searching...
No Matches
SculkBlockBehavior.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 // vIndex: 0
23 virtual int updateDecayDelay(int const) const /*override*/;
24
25 // vIndex: 1
26 virtual int updateFacingData(int const, ::Block const&) const /*override*/;
27
28 // vIndex: 2
29 virtual bool canChangeBlockOnSpread() const /*override*/;
30
31 // vIndex: 3
32 virtual bool attemptSpreadVeins(
33 ::IBlockWorldGenAPI& target,
34 ::BlockPos const& pos,
35 ::Block const& block,
36 int,
38 ) const /*override*/;
39
40 // vIndex: 4
41 virtual int attemptUseCharge(
42 ::IBlockWorldGenAPI& target,
43 ::BlockSource* region,
44 ::BlockPos const& originPos,
45 ::BlockPos const& pos,
46 int charge,
47 int,
48 ::Random& random,
49 ::SculkSpreader& spreader,
50 bool const
51 ) const /*override*/;
52
53 // vIndex: 5
54 virtual void onDischarged(::IBlockWorldGenAPI&, ::BlockSource*, ::BlockPos const&) const /*override*/;
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static void _placeGrowthAt(
61 ::IBlockWorldGenAPI& target,
62 ::BlockSource* region,
63 ::BlockPos const& pos,
64 ::Random& random,
65 ::SculkSpreader& spreader
66 );
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCFOLD int $updateDecayDelay(int const) const;
73
74 MCAPI int $updateFacingData(int const, ::Block const&) const;
75
76 MCFOLD bool $canChangeBlockOnSpread() const;
77
78 MCFOLD bool $attemptSpreadVeins(
79 ::IBlockWorldGenAPI& target,
80 ::BlockPos const& pos,
81 ::Block const& block,
82 int,
84 ) const;
85
86 MCAPI int $attemptUseCharge(
87 ::IBlockWorldGenAPI& target,
88 ::BlockSource* region,
89 ::BlockPos const& originPos,
90 ::BlockPos const& pos,
91 int charge,
92 int,
93 ::Random& random,
94 ::SculkSpreader& spreader,
95 bool const
96 ) const;
97
98 MCFOLD void $onDischarged(::IBlockWorldGenAPI&, ::BlockSource*, ::BlockPos const&) const;
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCNAPI static void** $vftable();
105 // NOLINTEND
106};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition IBlockWorldGenAPI.h:25
Definition Random.h:11
Definition SculkBehavior.h:15
Definition SculkBlockBehavior.h:18
static MCAPI void ** $vftable()
Definition SculkSpreader.h:14