Mojira Archive
MC-279100

Shooting or throwing any projectiles while in a minecart with NaN Motion freezes/crashes the server

Shot or throw any projectiles in a minecart with NaN Motion (cause by MC-14) stuck/crash the server.

Steps to reprduce:

1.Build a long track (100+ blocks long).

2.Put 50+ stacked minecarts on both side. (To trigger MC-14)

3.Push the minecarts to the other side on both sides to make them collide.

4.After step 3, the minecarts should have NaNd motion on one axis. Check the Motion by the command

/data get entity @n[type=minecart] Motion 

5.Go into one of the minecarts and shot a bow/throw an ender pearl or snowball.

Observed result:

The server stucked, and you cannot get down the minecart.

On the F3 screen, the W value in Server[S] rise quickly.

Expected result:

The server won't get stuck, and the projectile should be shot normally.

Notes:

Relates to MC-14.

This might cause by the projectile inherits the motion of minecart and get NaN motion and maybe also NaN position.

Fixed

COMETC2021A1

[Mojang] Gegy

2025-01-02, 04:48 AM

2025-01-15, 10:02 AM

2025-01-15, 10:02 AM

1

3

Confirmed

Very Important

Platform

Crash, Minecart

1.21.4

25w03a