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 random,
43 ::Random& 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 bool _canPlaceGrowth(::IBlockWorldGenAPI& target, ::BlockPos const& pos, ::BlockPos const&);
55
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 $attemptSpreadVeins(
75 ::IBlockWorldGenAPI& target,
76 ::BlockPos const& pos,
77 ::Block const& block,
78 int,
80 ) const;
81
82 MCAPI int $attemptUseCharge(
83 ::IBlockWorldGenAPI& target,
84 ::BlockSource* region,
85 ::BlockPos const& originPos,
86 ::BlockPos const& pos,
87 int charge,
88 int random,
89 ::Random& spreader,
91 bool const
92 ) const;
93
94 MCFOLD void $onDischarged(::IBlockWorldGenAPI&, ::BlockSource*, ::BlockPos const&) const;
95
96
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCAPI static void** $vftable();
103 // NOLINTEND
104};
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkBehavior.h:5
Definition SculkBlockBehavior.h:18
Definition SculkSpreader.h:18