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

TNT animation ends at 80 ticks, ignores fuse length changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w32c, 20w46a
    • Minecraft 1.4.2, Minecraft 1.5, Minecraft 1.5.2, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 1.7.10, Minecraft 14w30c, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.5, Minecraft 1.8.6, Minecraft 1.8.7, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w20c, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, 1.14.4, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w21a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 2, 1.16.4
    • None
    • Confirmed
    • Commands, Entities, Rendering
    • Normal

      Summon a Primed TNT using

      /summon tnt ~ ~ ~ {Fuse:127}

      As the fuse is set to 127, the Primed TNT will explode after 127 ticks. This is as expected.
      However the client isn't informed of this change and will show the TNT animation exploding at the normal 80 ticks. This also removes the TNT entity from the client side.

      /data merge entity @e[type=tnt,limit=1] {Fuse:127}

      works on the invisible TNT to extend the fuse, but will not render it back as the client has already deleted the entity.

      TL;DR Server doesn't inform client of fuse length changes, TNT animation will always end at 80 ticks.


      To reproduce in 16w21b, simply summoning a TNT with Fuse:127b won't work. You must continuously use /entitydata to stop the Fuse value from reaching zero.
      Example: run this in a repeating command block:

      /data merge entity @e[type=tnt,limit=1] {Fuse:127}

      Code analysis by marcono1234 can be found in this comment.

            slicedlime [Mojang] slicedlime
            Awesoman3000 Connor Steppie
            Votes:
            29 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: