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
InfestedBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/string/HashedString.h"
7
#include "mc/world/level/block/BlockType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Block
;
12
class
BlockPos
;
13
class
BlockSource
;
14
struct
ResourceDropsContext
;
15
// clang-format on
16
17
class
InfestedBlock
:
public
::BlockType {
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 48, ::HashedString const> mUninfestedBlockId;
22
// NOLINTEND
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual ::Block
const
* tryGetUninfested(
::Block
const
& block)
const
/*override*/
;
28
29
virtual
void
spawnAfterBreak(
30
::BlockSource
& region,
31
::Block
const
&,
32
::BlockPos
const
& pos,
33
::ResourceDropsContext
const
& resourceDropsContext
34
)
const
/*override*/
;
35
// NOLINTEND
36
37
public
:
38
// static functions
39
// NOLINTBEGIN
40
MCNAPI
static
void
spawnSilverfish
(
::BlockSource
& region,
::BlockPos
const
& pos);
41
// NOLINTEND
42
43
public
:
44
// virtual function thunks
45
// NOLINTBEGIN
46
MCNAPI ::Block
const
*
$tryGetUninfested
(
::Block
const
& block)
const
;
47
48
MCNAPI
void
$spawnAfterBreak
(
49
::BlockSource
& region,
50
::Block
const
&,
51
::BlockPos
const
& pos,
52
::ResourceDropsContext
const
& resourceDropsContext
53
)
const
;
54
55
56
// NOLINTEND
57
58
public
:
59
// vftables
60
// NOLINTBEGIN
61
MCNAPI
static
void
**
$vftable
();
62
// NOLINTEND
63
};
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
Block
Definition
Block.h:42
InfestedBlock
Definition
InfestedBlock.h:17
InfestedBlock::$spawnAfterBreak
MCAPI void $spawnAfterBreak(::BlockSource ®ion, ::Block const &, ::BlockPos const &pos, ::ResourceDropsContext const &resourceDropsContext) const
InfestedBlock::spawnSilverfish
static MCAPI void spawnSilverfish(::BlockSource ®ion, ::BlockPos const &pos)
InfestedBlock::$tryGetUninfested
MCAPI::Block const * $tryGetUninfested(::Block const &block) const
InfestedBlock::$vftable
static MCAPI void ** $vftable()
ResourceDropsContext
Definition
ResourceDropsContext.h:16
src
mc
world
level
block
InfestedBlock.h
Generated on
for LeviLamina by
1.16.1