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

Passenger riding on a mob has a delay before it falls when the mob is killed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 20w13a, 1.16.1, 1.16.2 Pre-release 1, 1.16.3, 20w49a, 21w03a, 1.16.5, 21w06a, 21w16a, 1.17, 1.17.1, 21w42a, 1.18.1, 1.18.2, 22w15a, 1.19 Pre-release 3, 1.19, 1.19.2, 1.19.4, 23w12a, 1.20.1, 23w43a, 23w45a, 1.20.4, 24w10a
    • None
    • Confirmed
    • Mob behaviour
    • Low
    • Platform

      The Bug

      Passenger riding on a mob has a delay before it falls when the mob is killed. This can be easily seen with Baby Striders on top of adults.

      Steps to Reproduce

      • Summon a baby strider riding an adult strider.
        /summon minecraft:strider ~ ~ ~ {Passengers:[{id:"minecraft:strider",Age:-25000}]}
        
      • Kill the adult strider and watch the baby strider closely as you do this.
      • Take note as to whether or not baby striders riding adults striders have a delay before they're dismounted after the adult is killed.

      Observed Behavior

      Passengers riding mobs have a delay before they're dismounted after the mob is killed.

      Expected Behavior

      Passengers riding mobs would be instantly dismounted after the mob is killed.

      Code Analysis

      Code analysis by Avoma can be found in this comment.

        1. MC-176047.mp4
          3.67 MB
        2. MC-176047.png
          MC-176047.png
          408 kB
        3. MC-176047 - Current Code.png
          MC-176047 - Current Code.png
          21 kB
        4. MC-176047 - Fixed Code.png
          MC-176047 - Fixed Code.png
          25 kB

            Unassigned Unassigned
            Feranogame Feranogame
            Votes:
            13 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: