getMotionX

fun getMotionX(): Double

Gets the player's x motion. This is the amount the player will move in the x direction next tick.

Return

the player's x motion

Sources

Link copied to clipboard