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 11:10, 2. Jul 2022
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.  

Last seen on 20:30, 19. Mar 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I wanted to do this too…
Mon, 01/03/2022 - 16:02

I wanted to do this too. Please update me if anything happens.

Last seen on 08:39, 10. Aug 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can use the Entity…
Tue, 01/04/2022 - 02:04

You can use the Entity attacked global trigger. And detect if the player has the special armor.