Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-276047

Minecart rotation switches between 270, 90 and -90 while on a rail in specific cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w34a, 24w35a, 24w36a, 24w37a
    • None
    • Community Consensus
    • Minecart
    • Normal
    • Platform

      This bug has been in other versions of Minecraft (although in slightly different form), but it is most obvious with Minecart Experiments enabled. If a minecart is placed on a normal rail between two blocks, facing in the north-south-direction, and it is pushed (for example by the player or a wind charge), its rotation can switch between 270, 90 and -90 degrees, which produces a twitching effect. This does not occur in the east-west-direction or on any number of rails more than one (at least as far as I could test).
      See the video for example: https://drive.google.com/file/d/1yNdLCEpy0RqoOaVTIdskHYvAUdD5ISNr/view?usp=drive_link
      In the video, I eventually got the minecart to switch between all three rotations, producing the twitching effect.

      Steps to reproduce:

      1. Build the layout as shown in the image (the minecart must face in the north-south direction).
      2. Jump around in the minecart (especially on the sides).
      3. It should eventually switch its rotation to 90 degrees (you can measure this with "/data get entity @n[type=minecart] Rotation").
      4. Break the minecart and place another one.
      5. Throw a lot of wind charges next to the minecart on one side and measure its rotation, and then throw them on the other side (finally measure the rotation again).
      6. The minecart should switch its rotation to 90 and -90 degrees (in whatever order).

      What I expected to happen:
      The minecart should not change rotation at all because it is on a rail. If this is intended, the minecart should also change rotation in the east-west-direction and on longer tracks. Also, not both 270 and -90 degrees should be used because they are different numbers for the same rotation.

            Unassigned Unassigned
            Joniprog J Z
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: