Started by
Claistien
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I would like to create an enchantment for armor that, when wearing the full armor set and being attacked by a mob or player, causes the attacking mob or player to catch fire for 3 seconds. However, I am not familiar with the procedure to achieve this (I am using version 2023.3 with Fabric, if that helps).
This should work if you change "Fire Aspect" to whatever your enchantment is.
burnTime = Seconds of burn
burnChance = % chance to trigger
Tested and corrected. See below: