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

Attempting to modify NBT of killer rabbit throws unexpected error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w20a
    • 24w18a
    • None
    • Confirmed
    • Commands
    • Important
    • Platform

      When trying to use the command below, the error message "An unexpected error occurred trying to execute that command" appears in chat.

      data merge entity @e[nbt={RabbitType:99},limit=1] {DeathLootTable:"air"}
      

      However, you can summon a rabbit entity with any DeathLootTable.

      summon rabbit ~ ~ ~ {DeathLootTable:"air",RabbitType:99}
      

       
      Tested in 1.20.6 and it works perfectly, so only the latest snapshot seems affected.

            gegy1000 [Mojang] Gegy
            RagnarPT RagnarPT
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: