LeviLamina
Loading...
Searching...
No Matches
RootedDirtBlock.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/BlockType.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
class
ItemStack
;
16
namespace
BlockEvents {
class
BlockPlayerInteractEvent
; }
17
// clang-format on
18
19
class
RootedDirtBlock :
public
::BlockType {
20
public
:
21
// prevent constructor by default
22
RootedDirtBlock();
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
bool
onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
*, ::FertilizerType)
const
28
/*override*/
;
29
30
virtual
bool
canBeFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
&)
const
/*override*/
;
31
32
virtual
bool
tryToTill(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
& entity,
::ItemStack
& item)
const
33
/*override*/
;
34
35
virtual
bool
canBeOriginalSurface(
bool
)
const
/*override*/
;
36
// NOLINTEND
37
38
public
:
39
// member functions
40
// NOLINTBEGIN
41
MCAPI RootedDirtBlock(::std::string
const
& nameId,
int
id
);
42
43
MCAPI
void
use(
::BlockEvents::BlockPlayerInteractEvent
& eventData)
const
;
44
// NOLINTEND
45
46
public
:
47
// constructor thunks
48
// NOLINTBEGIN
49
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
);
50
// NOLINTEND
51
52
public
:
53
// virtual function thunks
54
// NOLINTBEGIN
55
MCAPI
bool
$onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
*, ::FertilizerType)
const
;
56
57
MCAPI
bool
$canBeFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
&)
const
;
58
59
MCAPI
bool
$tryToTill(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
& entity,
::ItemStack
& item)
const
;
60
61
MCFOLD
bool
$canBeOriginalSurface(
bool
)
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
BlockEvents::BlockPlayerInteractEvent
Definition
BlockPlayerInteractEvent.h:20
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
Block
Definition
Block.h:69
ItemStack
Definition
ItemStack.h:35
src
mc
world
level
block
RootedDirtBlock.h
Generated on
for LeviLamina by
1.16.1