LeviLamina
Loading...
Searching...
No Matches
BushBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/FertilizerType.h"
7
#include "mc/world/level/block/FoliageBlock.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
Block
;
13
class
BlockPos
;
14
class
BlockSource
;
15
// clang-format on
16
17
class
BushBlock :
public
::FoliageBlock
{
18
public
:
19
// prevent constructor by default
20
BushBlock();
21
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
bool
mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
26
27
virtual
bool
canBeFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& aboveBlock)
const
28
/*override*/
;
29
30
virtual
bool
31
onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
* actor, ::FertilizerType fType)
const
32
/*override*/
;
33
34
virtual
~BushBlock()
/*override*/
;
35
// NOLINTEND
36
37
public
:
38
// member functions
39
// NOLINTBEGIN
40
MCAPI BushBlock(::std::string
const
& nameId,
int
id
);
41
// NOLINTEND
42
43
public
:
44
// constructor thunks
45
// NOLINTBEGIN
46
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
);
47
// NOLINTEND
48
49
public
:
50
// destructor thunk
51
// NOLINTBEGIN
52
MCFOLD
void
$dtor();
53
// NOLINTEND
54
55
public
:
56
// virtual function thunks
57
// NOLINTBEGIN
58
MCFOLD
bool
$mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
59
60
MCFOLD
bool
$canBeFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& aboveBlock)
const
;
61
62
MCAPI
bool
63
$onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
* actor, ::FertilizerType fType)
const
;
64
65
66
// NOLINTEND
67
68
public
:
69
// vftables
70
// NOLINTBEGIN
71
MCAPI
static
void
**
$vftable
();
72
// NOLINTEND
73
};
Actor
Definition
Actor.h:105
BlockPos
Definition
BlockPos.h:19
BlockSource
Definition
BlockSource.h:68
Block
Definition
Block.h:43
FoliageBlock
Definition
FoliageBlock.h:23
FoliageBlock::$vftable
static MCAPI void ** $vftable()
src
mc
world
level
block
BushBlock.h
Generated on
for LeviLamina by
1.16.1