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
OnHitBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/pub_sub/Publisher.h"
7
#include "mc/world/item/components/ItemComponent.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Block
;
12
class
BlockPos
;
13
class
ItemStack
;
14
class
Mob
;
15
namespace
Bedrock::PubSub::ThreadModel {
struct
SingleThreaded
; }
16
// clang-format on
17
18
namespace
PublisherItemComponent {
19
20
struct
OnHitBlock
:
public
::ItemComponent
,
21
public
::Bedrock::PubSub::Publisher
<
22
void(::ItemStack&, ::Block const&, ::BlockPos const&, ::Mob&),
23
::Bedrock::PubSub::ThreadModel::SingleThreaded,
24
0> {};
25
26
}
// namespace PublisherItemComponent
Bedrock::PubSub::Publisher
Definition
Publisher.h:25
BlockPos
Definition
BlockPos.h:14
Block
Definition
Block.h:42
ItemComponent
Definition
ItemComponent.h:16
ItemStack
Definition
ItemStack.h:26
Mob
Definition
Mob.h:58
Bedrock::PubSub::ThreadModel::SingleThreaded
Definition
SingleThreaded.h:7
PublisherItemComponent::OnHitBlock
Definition
OnHitBlock.h:24
src
mc
world
item
components
publisher_item_component
OnHitBlock.h
Generated on
for LeviLamina by
1.16.1