Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Expose pre-collision moving velocity to VehicleBlockCollisionEvent

Open SoSeDiK opened this issue 3 years ago • 0 comments

Upon firing VehicleBlockCollisionEvent the collision already happened (for example, a minecart would already be stopped), and before there was no easy way to know the velocity at which this happened; you'd have to track that yourself.

Now you can use this API to implement features like bouncing from slime blocks depending on the speed you hit them :)

SoSeDiK avatar Oct 11 '22 20:10 SoSeDiK