Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
LLAPI BushBlock(::std::string
const
& nameId,
int
id
);
20
21
public
:
22
// virtual functions
23
// NOLINTBEGIN
24
virtual
bool
mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
25
26
virtual
bool
canBeFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& aboveBlock)
const
27
/*override*/
;
28
29
virtual
bool
30
onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
* actor, ::FertilizerType fType)
const
31
/*override*/
;
32
// NOLINTEND
33
34
public
:
35
// virtual function thunks
36
// NOLINTBEGIN
37
MCFOLD
bool
$mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
38
39
MCFOLD
bool
$canBeFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Block
const
& aboveBlock)
const
;
40
41
MCAPI
bool
42
$onFertilized(
::BlockSource
& region,
::BlockPos
const
& pos,
::Actor
* actor, ::FertilizerType fType)
const
;
43
44
45
// NOLINTEND
46
47
public
:
48
// vftables
49
// NOLINTBEGIN
50
MCNAPI
static
void
**
$vftable
();
51
// NOLINTEND
52
};
Actor
Definition
Actor.h:116
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
Block
Definition
Block.h:42
BushBlock::$vftable
static MCAPI void ** $vftable()
src
mc
world
level
block
BushBlock.h
Generated on
for LeviLamina by
1.16.1