mojira.dev
MC-135501

Invalid tag inside another tag silently fails to reload data packs

How to reproduce

  1. Make a datapack with a tag file in a datapack. The file should look like this:

    {
      "values": [
        "#minecraft:invalid"
      ]
    }
  1. Type /reload in chat
    → ❌ The game gives an error message in the game log and aborts reloading the rest of the datapack, Datapacks will show that they're loaded with /datapack list but no advancements/functions/tags/loot tables will be reloaded.

Linked issues

Comments 5

I cannot reproduce this anymore in the latest snapshot. So it must have been fixed silently.

Please reopen this ticket as it was actually never fixed. It slipped through my testing because it lo longer gives an error message in chat, it now generates a proper error message in the game log. But it still aborts loading the datapacks.

Mods please confirm. This bug is bananas! Even the vanilla datapack is invalidated if you have any invalid data tags anywhere, and the error messages are no help at all.

Can a dev please look at this? A slightly outdated or incorrect data pack can ruin all your data packs and like Paint said, also the vanilla data pack. It's ridiculous that this bug has been a thing for 3 major versions.

This was fixed together with MC-164446 in 20w14a

Misode

(Unassigned)

Confirmed

(Unassigned)

data-pack, tag

Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 1.14, ..., 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2, 20w08a

Minecraft 19w14a, 20w14a

Retrieved