getMotionZ

fun getMotionZ(): Double

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

Return

the entity's z motion

Sources

Link copied to clipboard