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

Specified enchantment ignored in predicates inside of loot tables

XMLWordPrintable

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

      In the attached data pack, the fishing loot table outputs treasure, fish, or junk, if the fishing rod doesn't have the custom enchantment "beeteekay:rubbish_curse" with the value of 1. If the rod has said enchantment, it will only output the junk fishing loot table. However, the predicate looks for any enchantment at level 1 rather than just "beeteekay:rubbish_curse" at level 1.

      Steps to Reproduce:
      1. Download the data pack attached and apply it to a world.
      2. Use a fishing rod enchanted with any level 1 enchantment that's not "beeteekay:rubbish_curse".

      Expected Results:
      The fishing loot outputs as normal.

      Observed Results:
      The fishing loot only outputs junk, even though it should only output junk with the "beeteekay:rubbish_curse" enchantment.

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

              Created:
              Updated:
              Resolved: