Class PlayerRespawnEvent
java.lang.Object
fr.fidorial.event.player.PlayerRespawnEvent
- All Implemented Interfaces:
Event, PlayerEvent
Fired when a dead player clicks respawn, before they are placed back in the world.
- Since:
- 0.1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlayerRespawnEvent
-
-
Method Details
-
player
- Specified by:
playerin interfacePlayerEvent
-
world
- Returns:
- the world the player is about to respawn in
-
location
- Returns:
- the position the player is about to respawn at
-
setRespawnLocation
-
setRespawnLocation
- Parameters:
location- the position to respawn at instead, in the same world
-