Stacking minecarts and shooting arrow while inside crashes server due to excessive velocity
I'd imagine there's already a report on this, but if you:
- stack a higher number of minecarts on a single rail (7 in my example),
- push them,
- sit inside them,
- then shoot an arrow into the air while lots of collision is going on.
the server will either halt (getting entities/loading chunks in a massive bounding box?) or crash immediately (index out of bounds from impossible chunk coordinates?). The crash scenario you can see in the attached video with its vanilla client crash logs attached.
Cause
This is due to the player gaining incredibly high delta movement, up to thousands per axis, which is then added to the projectile velocity in the last line of the Projectile#shootFromRotation method. Presumably from excessive collision, though the player is not actually moving due to sitting in a vehicle.