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

Data Driven Enchantment do not work in predicates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 24w21b
    • None
    • Unconfirmed
    • (Unassigned)

      Hello,

      Having a custom enchantment as a predicate condition does not work in the latest snapshot. I checked against vanilla ones which work fine.

      Trying to get a output from something like "/execute if items entity @s weapon.mainhand #enchantencore:all_enchantable[minecraft:enchantments=\{levels:{"enchantencore:handyman":1}}]" also does not work

       

      Steps to Reproduce:
      1. set up custom enchant
      2. try having it as a condition in /execute if items or as a predicate

      Observed Results:
      output failed

      Expected Results:
      output should be true

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

              Created:
              Updated:
              Resolved: