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

Minecarts which derail on descending slopes do not maintain their momentum properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w34a, 24w36a
    • Confirmed
    • Minecart
    • Normal
    • Platform

      When minecarts derail on descending slopes they lose a chunk of their horizontal momentum and all of their vertical momentum. This is in stark contrast to ascending slopes which work perfectly fine.

      The loss of horizontal momentum is more visible at default speed (maxSpeed 8) and the loss of vertical momentum is more visible on high speed (maxSpeed 1000)

      1. Nonsensical trajectory resulting from the incorrect momentum (maxSpeed 1000)

      2. Example of losing horizontal momentum:
      downward.mp4
      3. Results of a downward vs upward derailing at maxSpeed 8 (both should be the same since they had the same horizontal momentum, but that's not what's observed)

      4. Here you can see me lose all my vertical momentum and go perfectly horizontally for a while before gravity starts acting.
      downward fast.mp4

      Reproduction Steps

      • Reproduction world: Bug Repo.zip
      • Drive onto the downward and upward ramps
      • Compare results
      • Set maxSpeed to 1000
      • Drive off the downwards ramp

      Observed Results

      • The minecart going downwards loses some horizontal momentum
      • The minecart going downwards loses all vertical momentum

      Expected Results

      • The minecart would keep its momentum realistically like it does on ascending slopes.

        1. 2024-08-21_21.29.56.png
          2024-08-21_21.29.56.png
          836 kB
        2. Bug Repo.zip
          772 kB
        3. downward.mp4
          5.03 MB
        4. downward fast.mp4
          9.11 MB
        5. trajectory2.png
          trajectory2.png
          817 kB

            Unassigned Unassigned
            Ceresjanin123 Ceresjanin123
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: