After the 1.26.20 update,[Fixed a bug where Minecarts on the same track would not properly transfer momentum when colliding with each other].
Minecarts now use different collision box dimensions depending on rail direction, but the collision box no longer properly rotates with the rail orientation.
In older versions, the minecart collision box extended along the direction of movement, matching the rendered rectangular minecart model. However, in newer versions, one direction incorrectly uses a square collision box instead of a rotated rectangular one.
Old behavior:
On X-axis rails, the minecart collision box was 1.4 × 0.7 × 0.98
On Z-axis rails, the minecart collision box was 0.98 × 0.7 × 1.4
The collision box correctly rotated with the rail direction.
Current behavior after 1.26.20:
On X-axis rails, the minecart collision box is 1.4 × 0.7 × 0.98
On Z-axis rails, the minecart collision box is 0.98 × 0.7 × 0.98
This causes the minecart to lose its forward collision extension on one direction, making the collision shape inconsistent depending on rail orientation.
Steps to reproduce the issue:
Place rails facing along both the X-axis and Z-axis.
Place two minecarts one block apart on each rail direction.
Observe the collision interaction between the minecarts.
Expected result:
Minecarts should push each other apart correctly on both rail directions.
Actual result
Minecarts do not push each other apart on the Z-axis.
Attachments
Comments 7
This issue has been reviewed by our team.
Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.
If a fix is implemented, it will be listed in our official changelogs.
For major outages or urgent assistance, visit the Minecraft Help Center.
As you can see, the results of the collision are inconsistent in different directions, and the final position where the minecart stops is different.
1. Collision results are different from the old version.
2. In a minecart collision, one of the minecarts should not stop.
3. Identical minecarts colliding should not produce different results.
4.Different results in different directions
Thank you for helping us improve Minecraft! We saved your files: