LeviLamina
Loading...
Searching...
No Matches
DefaultSculkBehavior.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 currentValue) const /*override*/;
24
25 // vIndex: 1
26 virtual int updateFacingData(int const currentValue, ::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 facingData, ::SculkSpreader&)
34 const /*override*/;
35
36 // vIndex: 4
37 virtual int attemptUseCharge(
40 ::BlockPos const&,
41 ::BlockPos const&,
42 int charge,
43 int decayDelay,
44 ::Random&,
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 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI int $updateDecayDelay(int const currentValue) const;
57
58 MCFOLD int $updateFacingData(int const currentValue, ::Block const&) const;
59
60 MCFOLD bool $canChangeBlockOnSpread() const;
61
62 MCAPI bool
63 $attemptSpreadVeins(::IBlockWorldGenAPI& target, ::BlockPos const& pos, ::Block const& block, int facingData, ::SculkSpreader&)
64 const;
65
66 MCAPI int $attemptUseCharge(
69 ::BlockPos const&,
70 ::BlockPos const&,
71 int charge,
72 int decayDelay,
73 ::Random&,
75 bool const
76 ) const;
77
78 MCFOLD void $onDischarged(::IBlockWorldGenAPI&, ::BlockSource*, ::BlockPos const&) const;
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCAPI static void** $vftable();
85 // NOLINTEND
86};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition DefaultSculkBehavior.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:16
Definition SculkBehavior.h:15
Definition SculkSpreader.h:14