Package net.lewmc.essence.events
Class DeathEvent
java.lang.Object
net.lewmc.essence.events.DeathEvent
- All Implemented Interfaces:
org.bukkit.event.Listener
DeathEvent class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPlayerDeath
(org.bukkit.event.entity.PlayerDeathEvent event) Event handler for when a player dies.
-
Constructor Details
-
DeathEvent
Constructor for the DeathEvent class.- Parameters:
plugin
- Essence - Reference to the main Essence class.
-
-
Method Details
-
onPlayerDeath
public void onPlayerDeath(org.bukkit.event.entity.PlayerDeathEvent event) Event handler for when a player dies.- Parameters:
event
- PlayerDeathEvent - Server thrown event.
-