LeviLamina
Loading...
Searching...
No Matches
ShortDryGrassBlock.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
struct
BlockAnimateTickData
;
16
// clang-format on
17
18
class
ShortDryGrassBlock :
public
::FoliageBlock {
19
public
:
20
// prevent constructor by default
21
ShortDryGrassBlock();
22
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
virtual
bool
mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
27
28
virtual
bool
mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
29
30
virtual
bool
canBeFertilized(
::BlockSource
&,
::BlockPos
const
&,
::Block
const
&)
const
/*override*/
;
31
32
virtual
bool
onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
*, ::FertilizerType)
const
33
/*override*/
;
34
35
virtual
void
animateTick(
::BlockAnimateTickData
const
& tickData)
const
/*override*/
;
36
// NOLINTEND
37
38
public
:
39
// member functions
40
// NOLINTBEGIN
41
MCAPI ShortDryGrassBlock(::std::string
const
& nameId,
int
id
);
42
// NOLINTEND
43
44
public
:
45
// constructor thunks
46
// NOLINTBEGIN
47
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
);
48
// NOLINTEND
49
50
public
:
51
// virtual function thunks
52
// NOLINTBEGIN
53
MCFOLD
bool
$mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
54
55
MCAPI
bool
$mayPlaceOn(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
56
57
MCFOLD
bool
$canBeFertilized(
::BlockSource
&,
::BlockPos
const
&,
::Block
const
&)
const
;
58
59
MCAPI
bool
$onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
*, ::FertilizerType)
const
;
60
61
MCAPI
void
$animateTick(
::BlockAnimateTickData
const
& tickData)
const
;
62
63
64
// NOLINTEND
65
66
public
:
67
// vftables
68
// NOLINTBEGIN
69
MCAPI
static
void
** $vftable();
70
// NOLINTEND
71
};
Actor
Definition
Actor.h:125
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
Block
Definition
Block.h:69
BlockAnimateTickData
Definition
BlockAnimateTickData.h:14
src
mc
world
level
block
ShortDryGrassBlock.h
Generated on
for LeviLamina by
1.16.1