How to set a mob on fire?

Started by God_Of_Wood on

Topic category: Help with MCreator software

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to set a mob on fire?

I have a tool and I want it to be able to set an entity on fire if I right-click it, but if I use the procedure to set an entity on fire and use the event trigger "Player right clicks on entity" it makes it so that any weapon does the same thing and it sets me on fire if I am not pointing at an entity. Does someone know a way I could make this work?

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It does that because the mod…
Sat, 08/08/2020 - 12:34

It does that because the mod thinks that the entity you want to set on fire is - you. Not quite sure how to fix this though

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wanted to do something…
Thu, 10/24/2024 - 12:41

I wanted to do something similar and this is the exact procedure I used (I wanted it to work only on undead mobs so if you want to be able to use this on all mobs you will have to do the same but attach the red block directly to the if do block)

 

https://postimg.cc/fJcMbRcz