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

A tag missing an entry will output it as missing once for each loaded data pack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.19, 1.19.1, 1.19.2
    • None
    • Confirmed
    • Data Packs, Debug
    • Low

      Possibly relates to MC-253055, as that's a similar issue, but with resource packs' sounds.json.

      If you have multiple data packs loaded, and a tag is missing a reference, eg non-existing function, it'll print that it is missing that reference once for each loaded data pack.

      Eg, having 2 data packs loaded, with the first pack (from bottom) having the error results in:

      [15:01:28] [ServerMain/ERROR]: Couldn't load tag luigis_mansion:items/poltergust_3000/music_cannot_overwrite as it is missing following references:
      luigis_mansion:items/poltergust_3000/music_cannot_overwrite/cathcing_chauncey (from Luigi's Mansion),
      luigis_mansion:items/poltergust_3000/music_cannot_overwrite/cathcing_chauncey (from Luigi's Mansion)

      Whereas having only the one with the error loaded results in:

      [15:01:28] [ServerMain/ERROR]: Couldn't load tag luigis_mansion:items/poltergust_3000/music_cannot_overwrite as it is missing following references:
      luigis_mansion:items/poltergust_3000/music_cannot_overwrite/cathcing_chauncey (from Luigi's Mansion)

      Note, that in my test, none of the higher packs actually provide that tag.

      Steps to reproduce:

      • Make a valid data pack
      • Add a tag to 1 data pack with an invalid reference (eg create data/minecraft/tags/functions/test_tag.json with the value
        {"values": [ "minecraft:non_existing_function"]}

        )

      • Load the world
      • Observe error in log listing the missing reference once
      • Make another valid data pack/
      • Use /reload
      • Observe error in log listing the missing reference twice

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: