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

TNT minecart does not remember ignition source when exploding from a fall

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 25w03a
    • None
    • Java 21.0.6
      MacOS Sequoia 15.1.1
    • Confirmed
    • Combat, Minecart
    • Low
    • Platform

      In 25w03a TNT minecarts now remember their ignition source when they are primed by a damage source that ignites TNT. However if the TNT minecart explodes from a fall or horizontal collision before the fuse runs out, this ignition source is forgotten.

       

      Steps to reproduce:

      1. Build the setup shown in the attached screenshot.
      2. Be in creative mode.
      3. Run the command `/tick freeze`
      4. Prime the TNT block with a flint and steel.
      5. Run the command `/tick step 52`
      6. Turn the lever on to power the powered rails.
      7. Run the command `/tick step 28`. The TNT should explode and prime the TNT minecart.
      8. Stand close enough to the falling TNT minecart so you will be killed in one hit when it explodes, and switch to survival mode.
      9. Run the command `/tick unfreeze`. The TNT minecart will explode and kill the player.
      10. `player was blown up` is printed to the chat. There is a very low chance that instead, `player was blown up by player` will be printed to chat due to the random fuse time given to TNT minecarts causing the TNT minecart to explode before it touches the ground.

      Expected behavior: `player was blown up by player` is printed to the chat.

      Observer behavior: `player was blown up` is printed to the chat.

      While this example setup uses creative mode, it's also possible for this to happen in a survival-only setting. Creative mode here is used to avoid getting damaged by the initial TNT block and the /tick command is used to make it more clear what is going on.

            Unassigned Unassigned
            GaRLic_BrEd_ GaRLic_BrEd_
            Votes:
            13 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: