Interface RespawnPlayerEvent.Recreate
- 
- All Superinterfaces:
- Cancellable,- ChangeEntityWorldEvent,- ChangeEntityWorldEvent.Reposition,- Event,- MoveEntityEvent,- RespawnPlayerEvent
 - Enclosing interface:
- RespawnPlayerEvent
 
 public static interface RespawnPlayerEvent.Recreate extends RespawnPlayerEvent, ChangeEntityWorldEvent.Reposition 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.spongepowered.api.event.entity.ChangeEntityWorldEventChangeEntityWorldEvent.Post, ChangeEntityWorldEvent.Pre, ChangeEntityWorldEvent.Reposition
 - 
Nested classes/interfaces inherited from interface org.spongepowered.api.event.entity.living.player.RespawnPlayerEventRespawnPlayerEvent.Post, RespawnPlayerEvent.Recreate, RespawnPlayerEvent.SelectWorld
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisBedSpawn()Gets whether the position of spawn was set by aBed.booleanisDeath()Gets if this respawn is due to aplayer'sdeath.ServerPlayerrecreatedPlayer()Gets theplayerthat was recreated.- 
Methods inherited from interface org.spongepowered.api.event.CancellableisCancelled, setCancelled
 - 
Methods inherited from interface org.spongepowered.api.event.entity.ChangeEntityWorldEventdestinationWorld, originalDestinationWorld, originalWorld
 - 
Methods inherited from interface org.spongepowered.api.event.entity.MoveEntityEventdestinationPosition, entity, originalDestinationPosition, originalPosition, setDestinationPosition
 - 
Methods inherited from interface org.spongepowered.api.event.entity.living.player.RespawnPlayerEvententity
 
- 
 
- 
- 
- 
Method Detail- 
recreatedPlayerServerPlayer recreatedPlayer() Gets theplayerthat was recreated.Care must be taken in interacting with this player as at this point in time the player is not within the world.- Returns:
- The player
 
 - 
isBedSpawnboolean isBedSpawn() Gets whether the position of spawn was set by aBed.- Returns:
- True if the position of spawn was due to a bed, false otherwise
 
 - 
isDeathboolean isDeath() Gets if this respawn is due to aplayer'sdeath.- Returns:
- trueif player died,- falseotherwise
 
 
- 
 
-