Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SculkVeinBlockBehavior.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& block) 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&,
40 ::BlockPos const& pos,
41 int charge,
42 int,
43 ::Random& random,
44 ::SculkSpreader& spreader,
45 bool const spreadVeins
46 ) const /*override*/;
47
48 virtual void onDischarged(::IBlockWorldGenAPI& target, ::BlockSource* region, ::BlockPos const& pos) const
49 /*override*/;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCNAPI static void
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI int $updateDecayDelay(int const) const;
63
64 MCNAPI int $updateFacingData(int const, ::Block const& block) const;
65
66 MCNAPI bool $canChangeBlockOnSpread() const;
67
69 ::IBlockWorldGenAPI& target,
70 ::BlockPos const& pos,
71 ::Block const& block,
72 int,
74 ) const;
75
77 ::IBlockWorldGenAPI& target,
78 ::BlockSource* region,
79 ::BlockPos const&,
80 ::BlockPos const& pos,
81 int charge,
82 int,
83 ::Random& random,
84 ::SculkSpreader& spreader,
85 bool const spreadVeins
86 ) const;
87
88 MCNAPI void $onDischarged(::IBlockWorldGenAPI& target, ::BlockSource* region, ::BlockPos const& pos) const;
89
90
91 // NOLINTEND
92};
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition Block.h:42
Definition IBlockWorldGenAPI.h:25
Definition Random.h:10
Definition SculkBehavior.h:5
Definition SculkSpreader.h:18
Definition SculkVeinBlockBehavior.h:18
MCAPI void $onDischarged(::IBlockWorldGenAPI &target, ::BlockSource *region, ::BlockPos const &pos) const
MCAPI bool $canChangeBlockOnSpread() const
MCAPI bool $attemptSpreadVeins(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Block const &block, int, ::SculkSpreader &) const
MCAPI int $updateDecayDelay(int const) const
MCAPI int $attemptUseCharge(::IBlockWorldGenAPI &target, ::BlockSource *region, ::BlockPos const &, ::BlockPos const &pos, int charge, int, ::Random &random, ::SculkSpreader &spreader, bool const spreadVeins) const
static MCAPI void _cleanUpVeinsWithSculkSubstrate(::IBlockWorldGenAPI &target, ::BlockSource *region, ::BlockPos const &pos)
MCAPI int $updateFacingData(int const, ::Block const &block) const