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

~ matcher for components will match too much

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w20a
    • None
    • Unconfirmed
    • (Unassigned)

      /clear @s *[enchantments~[{enchantment:"minecraft:vanishing_curse"}]]

      removes all items enchanted with curse of vanishing in 1.20.6. It instead matches with every enchanted item in 24w20a

      Steps to reproduce:

      1. Give yourself a sword with only sharpness 1
      2. Run the command
      3. See it disappear despite not having curse of vanishing
      4. Try again in 1.20.6 to see it working well

            Unassigned Unassigned
            tholleman tholleman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: