getMotionX

fun getMotionX(): Double

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

Return

the entity's x motion

Sources

Link copied to clipboard