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

NBT text component interpret loops do not log an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 18w43b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, 20w30a, 20w51a, 21w03a, 1.16.5, 21w08b, 1.17, 1.17.1, 24w10a
    • Confirmed
    • Commands

      The bug

      It appears that infinite NBT text component interpret loops do not log an error.

      How to reproduce

      1. /summon item ~3 ~ ~ {Item:{id:stone,Count:1b,tag:{test:"{\"nbt\":\"Item.tag.test\",\"entity\":\"@e[type=item,limit=1]\",\"interpret\":true}"}}}
        
      2. /tellraw @s {"nbt":"Item.tag.test","entity":"@e[type=item]","interpret":true}
        

        Nothing appears in chat (would be [] if nothing was found) and no error is logged

        1. MC-137728.mp4
          3.44 MB
        2. MC-137728.png
          MC-137728.png
          940 kB

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: