Hot to make it when mob hits the player the player sets on fire

Started by AirDeveloper Mods on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hot to make it when mob hits the player the player sets on fire

I am trying to make it so when my chili creeper mod hits the player the player sets on fire but nonthing seems to work i am using neoforge 1.21.8 and mcreator 2026.1

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there not a trigger on…
Mon, 05/18/2026 - 19:05

Is there not a trigger on the entity something like entity attacks other entity? If not use the global trigger: entity attacked. Either way use this same procedure:

If source entity is type chili creeper

Set event/target entity on fire for (10?) ticks

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedure element…
Wed, 05/20/2026 - 20:34

Create a procedure element in your workspace, unconnected to anything else, within the green block at the top select global trigger, then entity attacked.

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
alright i have entity is…
Wed, 05/27/2026 - 12:44

alright i have entity is attacked now what?

Joined May 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Now check if source entity…
Sat, 06/20/2026 - 02:31

Now check if source entity is chili creeper, and if yes, set target entity on fire for [number] seconds, just like fr6_17 said in their first comment.