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 virtual int updateDecayDelay(int const currentValue) const /*override*/;
23
24 virtual int updateFacingData(int const currentValue, ::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 facingData,
34 ) const /*override*/;
35
36 virtual int attemptUseCharge(
39 ::BlockPos const&,
40 ::BlockPos const&,
41 int charge,
42 int decayDelay,
43 ::Random&,
45 bool const
46 ) const /*override*/;
47
48 virtual void onDischarged(::IBlockWorldGenAPI&, ::BlockSource*, ::BlockPos const&) const /*override*/;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI int $updateDecayDelay(int const currentValue) const;
55
56 MCFOLD int $updateFacingData(int const currentValue, ::Block const&) const;
57
58 MCFOLD bool $canChangeBlockOnSpread() const;
59
60 MCAPI bool $attemptSpreadVeins(
61 ::IBlockWorldGenAPI& target,
62 ::BlockPos const& pos,
63 ::Block const& block,
64 int facingData,
66 ) const;
67
68 MCAPI int $attemptUseCharge(
71 ::BlockPos const&,
72 ::BlockPos const&,
73 int charge,
74 int decayDelay,
75 ::Random&,
77 bool const
78 ) const;
79
80 MCFOLD void $onDischarged(::IBlockWorldGenAPI&, ::BlockSource*, ::BlockPos const&) const;
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCAPI static void** $vftable();
89 // NOLINTEND
90};
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition Block.h:43
Definition DefaultSculkBehavior.h:18
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkBehavior.h:15
Definition SculkSpreader.h:18