Started by
unk_capa
on
Topic category: Help with Minecraft modding (Java Edition)
Hello so i'm trying to make a procedure which checks if the provided itemstack has an enchantment from another mod and turns a variable to true if it does. I'm working with version 2024.4 since im modding on 1.20.1. Is there anyway?
Don't think you really can without locking the code as you need to import the mods enchantments into the procedure, if you set up the procedure with a custom enchantment from your own mod, lock the code then alter the import to match the mod you want as well the enchantment to the mod you want
The new NBT tags in 2026.2 could probably let you search for an enchant.