How to make armour have thorns like fire effect

Started by FerretWithACatHatYT on Fri, 11/06/2020 - 20:26

Topic category: Help with modding (Java Edition)

Last seen on 21:15, 3. Sep 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make armour have thorns like fire effect
Fri, 11/06/2020 - 20:26

I am making an elemental mod and would like to make it so that when you are hit whilst wearing a special armour, the enemy that hit you gets set on fire. The time that they would burn for would be correlated with how much of the armour, (helm = 5 points, chestplate = 8 points, leggings = 7 points, boots = 4 points. Do calculations with these points to get the time)

Last seen on 15:09, 2. Sep 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you can detect when you get…
Mon, 11/09/2020 - 17:11

you can detect when you get hit with the armor on, but I don't think you can detect what entity hit you.  You might need custom code for this.