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