Help with an armor enchantment

Started by Claistien on

Topic category: Help with modding (Java Edition)

Last seen on 00:56, 1. Jan 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with an armor enchantment

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).

Last seen on 18:44, 17. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This should work if you…
Fri, 12/29/2023 - 03:58

This should work if you change "Fire Aspect" to whatever your enchantment is.

 

burnTime = Seconds of burn

burnChance = % chance to trigger

Last seen on 18:44, 17. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tested and corrected. See…
Fri, 12/29/2023 - 04:35

Tested and corrected. See below: