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 attemptSpreadVeins(
33 ::IBlockWorldGenAPI& target,
34 ::BlockPos const& pos,
35 ::Block const& block,
36 int facingData,
38 ) const /*override*/;
39
40 // vIndex: 4
41 virtual int attemptUseCharge(
44 ::BlockPos const&,
45 ::BlockPos const&,
46 int charge,
47 int decayDelay,
48 ::Random&,
50 bool const
51 ) const /*override*/;
52
53 // vIndex: 5
54 virtual void onDischarged(::IBlockWorldGenAPI&, ::BlockSource*, ::BlockPos const&) const /*override*/;
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCNAPI int $updateDecayDelay(int const currentValue) const;
61
62 MCNAPI int $updateFacingData(int const currentValue, ::Block const&) const;
63
64 MCNAPI bool $canChangeBlockOnSpread() const;
65
67 ::IBlockWorldGenAPI& target,
68 ::BlockPos const& pos,
69 ::Block const& block,
70 int facingData,
72 ) const;
73
77 ::BlockPos const&,
78 ::BlockPos const&,
79 int charge,
80 int decayDelay,
81 ::Random&,
83 bool const
84 ) const;
85
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftable();
93 // NOLINTEND
94};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition DefaultSculkBehavior.h:18
static MCAPI void ** $vftable()
MCAPI bool $canChangeBlockOnSpread() const
MCAPI int $updateFacingData(int const currentValue, ::Block const &) const
MCAPI int $attemptUseCharge(::IBlockWorldGenAPI &, ::BlockSource *, ::BlockPos const &, ::BlockPos const &, int charge, int decayDelay, ::Random &, ::SculkSpreader &, bool const) const
MCAPI void $onDischarged(::IBlockWorldGenAPI &, ::BlockSource *, ::BlockPos const &) const
MCAPI int $updateDecayDelay(int const currentValue) const
MCAPI bool $attemptSpreadVeins(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Block const &block, int facingData, ::SculkSpreader &) const
Definition IBlockWorldGenAPI.h:25
Definition Random.h:11
Definition SculkBehavior.h:15
Definition SculkSpreader.h:14