Interface MoveEntityEvent
- All Superinterfaces:
 Cancellable,Event
- All Known Subinterfaces:
 ChangeEntityWorldEvent.Reposition,RespawnPlayerEvent.Recreate
Called when an 
Entity performs movement.- 
Method Summary
Modifier and TypeMethodDescriptionentity()Gets theEntity.voidsetDestinationPosition(Vector3d position) Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled 
- 
Method Details
- 
entity
Entity entity()Gets theEntity.- Returns:
 - The entity
 
 - 
originalPosition
Vector3d originalPosition()- Returns:
 - The original position
 
 - 
originalDestinationPosition
Vector3d originalDestinationPosition()- Returns:
 - The original destination
 
 - 
destinationPosition
Vector3d destinationPosition()- Returns:
 - The new position
 
 - 
setDestinationPosition
- Parameters:
 position- The new position
 
 -