Started by
Real_bizzy
on
Topic category: Help with modding (Java Edition)
so in procedures i wanted to know how to detect if a enchant is applied to a weapon because i want to make a custom enchant where when the enemy is hit with the enchant the enemy gets slowness and weakness (if any plugins are required its okay, just make sure their fabric friendly cuz im using fabric)
someone please help
There is an item procedure that checks if a weapon has an enchantment, just use that.
what is the item procedure though
i found this but i have no idea what to conect it to
image link: https://media.discordapp.net/attachments/1212265289782403173/1223567881…
an if block
ok thanks but i want to make it that the enchantment puts weakness and slowness of the enemy and every level higher the enchant is, the potion effects get one level higher and 2x longer, but for some reason (image below) this doesnt work
i still need help, can someone please?