3#include "ll/api/event/Cancellable.h"
4#include "ll/api/event/entity/ActorEvent.h"
6#include "mc/world/actor/ActorDamageSource.h"
8namespace ll::event::inline entity {
10class ActorHurtEvent final :
public Cancellable<ActorEvent> {
17 constexpr explicit ActorHurtEvent(
31 LLAPI
void deserialize(
CompoundTag const&)
override;
34 LLNDAPI
float& damage()
const;
35 LLNDAPI
bool& knock()
const;
36 LLNDAPI
bool& ignite()
const;
Definition ActorDamageSource.h:18
Definition CompoundTag.h:23