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
Attachments
Comments 5
attached the datapack I am working on. as mentioned above I can not get a positive output when using any custom enchantment as a condition. also tested this a bit further yesterday and it does also effect new enchantments in the minecraft namespace
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem:
If your ticket does not look like the example given here, then it's likely to be closed as Incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki