BetterHud
Toggle table of contents
1.12.1
fabric-api
Platform filter
fabric-api
Switch theme
Search in API
BetterHud
BetterHud/api/fabric-api
/
kr.toxicity.hud.api.fabric.event.entity
/
PlayerDamageByEntityEvent
Player
Damage
By
Entity
Event
class
PlayerDamageByEntityEvent
:
Record
,
PlayerEvent
<
T
>
,
EntityEvent
<
T
>
Player damaged by entity.
Parameters
player
player
entity
entity
Members
Constructors
Player
Damage
By
Entity
Event
Link copied to clipboard
constructor
(
)
Properties
REGISTRY
Link copied to clipboard
val
REGISTRY
:
EventRegistry
<
PlayerDamageByEntityEvent
>
Event registry
Functions
entity
Link copied to clipboard
@
NotNull
abstract
fun
entity
(
)
:
@
NotNull
LivingEntity
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
get
Registry
Link copied to clipboard
@
NotNull
open
fun
getRegistry
(
)
:
@
NotNull
EventRegistry
<
PlayerDamageByEntityEvent
>
Gets registry of this event.
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
player
Link copied to clipboard
@
NotNull
abstract
fun
player
(
)
:
@
NotNull
ServerPlayer
Gets triggered player.
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String