Skip to content
LeviMC
Home
Projects
Core
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
LeviStone
(GitHub)
Runtime for Endstone plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Official mods
LeviOptimize
Performance optimizations for LeviLamina servers and clients
LeviAntiCheat
Anti-cheat for LeviLamina servers
MoreDimensions
API for custom dimensions in Bedrock
BarelyEnoughItems
Item list and recipe viewer (JEI) for Bedrock
AlleviatedBackpacks
Backpacks with upgrades for Bedrock
Bedstones
Waystones for Bedrock worlds
BeetrootSkin
Hunger and saturation at a glance
LeviHeadlessInput
Scripted client input for mod tests
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Español
Русский
Deutsch
日本語
한국어
Français
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
Home
User Guides
Developer Guides
API Reference
Maintainer Guides
Supported Versions
Home
User Guides
Developer Guides
API Reference
Maintainer Guides
Supported Versions
LeviMC
Home
Projects
Core
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
LeviStone
(GitHub)
Runtime for Endstone plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Official mods
LeviOptimize
Performance optimizations for LeviLamina servers and clients
LeviAntiCheat
Anti-cheat for LeviLamina servers
MoreDimensions
API for custom dimensions in Bedrock
BarelyEnoughItems
Item list and recipe viewer (JEI) for Bedrock
AlleviatedBackpacks
Backpacks with upgrades for Bedrock
Bedstones
Waystones for Bedrock worlds
BeetrootSkin
Hunger and saturation at a glance
LeviHeadlessInput
Scripted client input for mod tests
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
Loading...
Searching...
No Matches
PlayerDieEvent.h
1
#pragma once
2
3
#include "ll/api/event/player/PlayerEvent.h"
4
5
#include "mc/world/actor/ActorDamageSource.h"
6
7
namespace
ll::event::inline player {
8
9
class
PlayerDieEvent final :
public
PlayerEvent {
10
ActorDamageSource
const
& mSource;
11
12
public
:
13
constexpr
explicit
PlayerDieEvent(
Player
& player,
ActorDamageSource
const
& source)
14
: PlayerEvent(player),
15
mSource(source) {}
16
17
LLAPI
void
serialize(
CompoundTag
&)
const override
;
18
19
LLNDAPI
ActorDamageSource
const
& source()
const
;
20
};
21
}
// namespace ll::event::inline player
ActorDamageSource
Definition
ActorDamageSource.h:18
CompoundTag
Definition
CompoundTag.h:18
Player
Definition
Player.h:129
src
ll
api
event
player
PlayerDieEvent.h
Generated on
for LeviLamina by
1.16.1