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

"CustomPotionEffects", "ActiveEffects", and "Effects" NBT tags still use numeral IDs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w21a, 23w32a
    • Minecraft 14w28a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w03b, Minecraft 18w07c, Minecraft 18w11a, Minecraft 18w21a, Minecraft 1.13-pre6, Minecraft 1.13.1, 1.15.1, 1.15.2, 20w06a, 1.16 Release Candidate 1, 1.16, 1.16.4 Pre-release 2, 20w46a, 20w51a, 21w03a, 1.16.5, 21w06a, 21w07a, 21w08b, 21w11a, 21w17a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 3, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w38a, 21w39a, 21w40a, 21w42a, 21w43a, 1.18 Pre-release 1, 1.18 Pre-release 7, 1.18, 1.18.1, 22w03a, 22w05a, 22w06a, 22w07a, 1.18.2 Pre-release 1, 1.18.2 Release Candidate 1, 1.18.2, 22w17a, 22w18a, 1.19, 1.19.1, 1.19.2, 22w43a, 22w44a, 1.19.3, 1.19.4, 1.20, 1.20.1
    • Confirmed
    • Commands
    • Low

      The Bug:

      "CustomPotionEffects", "ActiveEffects", and "Effects" NBT tags still use numeral IDs.

      Steps to Reproduce:

      1. Give yourself a potion with custom effects using numeral IDs by using the command provided below.
        /give @s minecraft:potion{CustomPotionEffects:[{Id:1,Amplifier:0,Duration:1000}]}
      2. Take note as to whether or not "CustomPotionEffects", "ActiveEffects", and "Effects" NBT tags still use numeral IDs.

      Observed Behavior:

      The given NBT tags use numeral IDs.

      Expected Behavior:

      The given NBT tags would not use numeral IDs. Instead, they would use IDs in the form of words. For example, "minecraft:speed" instead of "1".

        1. MC-61041.png
          MC-61041.png
          802 kB
        2. MC-61041.mp4
          4.53 MB
        3. 2014-07-09_18.07.15.png
          2014-07-09_18.07.15.png
          107 kB
        4. 2014-07-09_18.07.13.png
          2014-07-09_18.07.13.png
          290 kB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            41 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: