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