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
ServerPlayerBlockUseHandler.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BlockPos
;
11
class
ItemStackRequestActionMineBlock
;
12
class
ItemStackRequestData
;
13
class
PlayerBlockActions
;
14
class
ServerPlayer
;
15
class
TextFilteringProcessor
;
16
// clang-format on
17
18
namespace
ServerPlayerBlockUseHandler {
19
// functions
20
// NOLINTBEGIN
21
MCAPI
bool
isValidSourceRequest(::ServerPlayer& player, ::ItemStackRequestActionMineBlock
const
& request);
22
23
MCAPI
void
onBeforeMovementSimulation(
24
::ServerPlayer& player,
25
::PlayerBlockActions
const
& blockActions,
26
::std::unique_ptr<::ItemStackRequestData> itemStackRequest,
27
::Bedrock::NonOwnerPointer<::TextFilteringProcessor> textFilter
28
);
29
30
MCAPI
void
onStartDestroyBlock(::ServerPlayer& player, ::BlockPos
const
& pos,
int
face);
31
32
MCAPI
void
serverTickBlockBreaking(::ServerPlayer& player, ::BlockPos
const
& destroyBlockPos,
int
facing);
33
// NOLINTEND
34
35
}
// namespace ServerPlayerBlockUseHandler
BlockPos
Definition
BlockPos.h:14
ItemStackRequestActionMineBlock
Definition
ItemStackRequestActionMineBlock.h:16
ItemStackRequestData
Definition
ItemStackRequestData.h:15
PlayerBlockActions
Definition
PlayerBlockActions.h:10
ServerPlayer
Definition
ServerPlayer.h:73
TextFilteringProcessor
Definition
TextFilteringProcessor.h:19
src
mc
network
ServerPlayerBlockUseHandler.h
Generated on
for LeviLamina by
1.16.1