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
SlimeBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/BlockType.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BlockPos
;
11
class
EntityContext
;
12
class
IConstBlockSource
;
13
namespace
BlockEvents {
class
BlockEntityFallOnEvent
; }
14
// clang-format on
15
16
class
SlimeBlock
:
public
::BlockType {
17
public
:
18
// virtual functions
19
// NOLINTBEGIN
20
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
/*override*/
;
21
22
virtual
int
getExtraRenderLayers()
const
/*override*/
;
23
24
virtual
float
getBounciness(
::IConstBlockSource
const
&,
::BlockPos
const
&)
const
/*override*/
;
25
// NOLINTEND
26
27
public
:
28
// member functions
29
// NOLINTBEGIN
30
MCNAPI
void
onFallOn
(
::BlockEvents::BlockEntityFallOnEvent
& eventData)
const
;
31
// NOLINTEND
32
33
public
:
34
// virtual function thunks
35
// NOLINTBEGIN
36
MCNAPI
void
$onStandOn
(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
;
37
38
MCNAPI
int
$getExtraRenderLayers
()
const
;
39
40
MCNAPI
float
$getBounciness
(
::IConstBlockSource
const
&,
::BlockPos
const
&)
const
;
41
42
43
// NOLINTEND
44
45
public
:
46
// vftables
47
// NOLINTBEGIN
48
MCNAPI
static
void
**
$vftable
();
49
// NOLINTEND
50
};
BlockEvents::BlockEntityFallOnEvent
Definition
BlockEntityFallOnEvent.h:17
BlockPos
Definition
BlockPos.h:14
EntityContext
Definition
EntityContext.h:15
IConstBlockSource
Definition
IConstBlockSource.h:25
SlimeBlock
Definition
SlimeBlock.h:16
SlimeBlock::$getExtraRenderLayers
MCAPI int $getExtraRenderLayers() const
SlimeBlock::onFallOn
MCAPI void onFallOn(::BlockEvents::BlockEntityFallOnEvent &eventData) const
SlimeBlock::$getBounciness
MCAPI float $getBounciness(::IConstBlockSource const &, ::BlockPos const &) const
SlimeBlock::$vftable
static MCAPI void ** $vftable()
SlimeBlock::$onStandOn
MCAPI void $onStandOn(::EntityContext &entity, ::BlockPos const &pos) const
src
mc
world
level
block
SlimeBlock.h
Generated on
for LeviLamina by
1.16.1