public class PlayerDeathEvent extends EntityDeathEvent
Constructor and Description |
---|
PlayerDeathEvent(Entity player) |
Modifier and Type | Method and Description |
---|---|
Player |
player() |
deathCause, entity, killedByPlayer, wasKilledByPlayer
cancel, isIgnored, setEntity
public PlayerDeathEvent(Entity player)
player
- the player associated with this event (that died)Copyright © 2016. All rights reserved.