Get the Y coordinate of the player in Double.
Set the Y coordinate of the player.
the new Y coordinate.