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

Specific enchantment predicate will match with any enchantment

XMLWordPrintable

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

      I've included a minimal datapack that will cook fish caught by a fishing rod when the fishing rod has flame. This datapack will work in 1.20.6 but stopped working in 24w18a. It will now also cook the fish if the rod is enchanted with lure (or any other enchantment).

      Steps to verify the datapack is working:

      1. Install the datapack
      2. Give yourself an unenchanted fishing rod and catch a fish
      3. Do the same with a fishing rod with lure 3
      4. /give @s minecraft:fishing_rod[minecraft:enchantments={"minecraft:flame":1}
      5. Catch a fish and see that it is indeed cooked this time

      Steps to reproduce the bug:

      1. Upgrade the world to 24w18a
      2. Catch an uncooked fish with the unenchanted rod
      3. Catch a cooked fish with the flame fishing rod
      4. Catch a cooked fish with the lure fishing rod

      Step 4 is the bug, it should have worked just like 1.20.6

       

      This may be only the case for fishing. Enderchests still drop correctly with and without silk touch

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

              Created:
              Updated:
              Resolved: