PlayerDeathListener

class PlayerDeathListener : Listener

Listens for when a player dies

Author

stumper66

Since

2.6.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun onPlayerDeath(event: PlayerDeathEvent)

This listener handles death nametags so we can determine which mob killed it and update the death message accordingly