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
HoneyBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/optional_ref.h"
7
#include "mc/world/level/block/BlockType.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
AABB
;
12
class
Actor
;
13
class
Block
;
14
class
BlockPos
;
15
class
EntityContext
;
16
class
GetCollisionShapeInterface
;
17
class
IConstBlockSource
;
18
namespace
BlockEvents {
class
BlockEntityFallOnEvent
; }
19
// clang-format on
20
21
class
HoneyBlock
:
public
::BlockType {
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual ::AABB getCollisionShape(
26
::Block
const
&,
27
::IConstBlockSource
const
&,
28
::BlockPos
const
& pos,
29
::optional_ref<::GetCollisionShapeInterface const>
30
)
const
/*override*/
;
31
32
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
/*override*/
;
33
34
virtual
float
getBounciness(
::IConstBlockSource
const
&,
::BlockPos
const
&)
const
/*override*/
;
35
36
virtual
int
getExtraRenderLayers()
const
/*override*/
;
37
38
virtual ::AABB
const
& getVisualShape(
::Block
const
&,
::AABB
& bufferAABB)
const
/*override*/
;
39
// NOLINTEND
40
41
public
:
42
// member functions
43
// NOLINTBEGIN
44
MCNAPI
void
onFallOn
(
::BlockEvents::BlockEntityFallOnEvent
& eventData)
const
;
45
// NOLINTEND
46
47
public
:
48
// static functions
49
// NOLINTBEGIN
50
MCAPI
static
void
triggerSlidingDownEffects(
::Actor
& entity,
::BlockPos
const
& pos,
::Block
const
& honeyBlock);
51
// NOLINTEND
52
53
public
:
54
// virtual function thunks
55
// NOLINTBEGIN
56
MCNAPI ::AABB
$getCollisionShape
(
57
::Block
const
&,
58
::IConstBlockSource
const
&,
59
::BlockPos
const
& pos,
60
::optional_ref<::GetCollisionShapeInterface const>
61
)
const
;
62
63
MCNAPI
void
$onStandOn
(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
;
64
65
MCNAPI
float
$getBounciness
(
::IConstBlockSource
const
&,
::BlockPos
const
&)
const
;
66
67
MCNAPI
int
$getExtraRenderLayers
()
const
;
68
69
MCNAPI ::AABB
const
&
$getVisualShape
(
::Block
const
&,
::AABB
& bufferAABB)
const
;
70
71
72
// NOLINTEND
73
74
public
:
75
// vftables
76
// NOLINTBEGIN
77
MCNAPI
static
void
**
$vftable
();
78
// NOLINTEND
79
};
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:116
BlockEvents::BlockEntityFallOnEvent
Definition
BlockEntityFallOnEvent.h:17
BlockPos
Definition
BlockPos.h:14
Block
Definition
Block.h:42
EntityContext
Definition
EntityContext.h:15
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
HoneyBlock
Definition
HoneyBlock.h:21
HoneyBlock::$getBounciness
MCAPI float $getBounciness(::IConstBlockSource const &, ::BlockPos const &) const
HoneyBlock::$getCollisionShape
MCAPI::AABB $getCollisionShape(::Block const &, ::IConstBlockSource const &, ::BlockPos const &pos, ::optional_ref<::GetCollisionShapeInterface const >) const
HoneyBlock::$onStandOn
MCAPI void $onStandOn(::EntityContext &entity, ::BlockPos const &pos) const
HoneyBlock::$getVisualShape
MCAPI::AABB const & $getVisualShape(::Block const &, ::AABB &bufferAABB) const
HoneyBlock::onFallOn
MCAPI void onFallOn(::BlockEvents::BlockEntityFallOnEvent &eventData) const
HoneyBlock::$getExtraRenderLayers
MCAPI int $getExtraRenderLayers() const
HoneyBlock::$vftable
static MCAPI void ** $vftable()
IConstBlockSource
Definition
IConstBlockSource.h:25
optional_ref
Definition
optional_ref.h:10
src
mc
world
level
block
HoneyBlock.h
Generated on
for LeviLamina by
1.16.1