LeviLamina
Loading...
Searching...
No Matches
SculkBehavior.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
8class BlockPos;
9class BlockSource;
11class Random;
12class SculkSpreader;
13// clang-format on
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 // vIndex: 0
20 virtual int updateDecayDelay(int const) const = 0;
21
22 // vIndex: 1
23 virtual int updateFacingData(int const, ::Block const&) const = 0;
24
25 // vIndex: 2
26 virtual bool canChangeBlockOnSpread() const = 0;
27
28 // vIndex: 3
29 virtual bool
30 attemptSpreadVeins(::IBlockWorldGenAPI&, ::BlockPos const&, ::Block const&, int, ::SculkSpreader&) const = 0;
31
32 // vIndex: 4
33 virtual int attemptUseCharge(
36 ::BlockPos const&,
37 ::BlockPos const&,
38 int,
39 int,
40 ::Random&,
42 bool const
43 ) const = 0;
44
45 // vIndex: 5
46 virtual void onDischarged(::IBlockWorldGenAPI&, ::BlockSource*, ::BlockPos const&) const = 0;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54};
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition IBlockWorldGenAPI.h:25
Definition Random.h:16
Definition SculkBehavior.h:15
Definition SculkSpreader.h:14