Fire Aura - help with procedure

Started by DjinikEZIC on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Fire Aura - help with procedure

I want to add radiance from dota 2, but I can't write a procedure Logically, when an object is in hand, it reads whether there are enemies within 8 blocks and should set them on fire, but it only sets me on fire.
 

I apologize for the crooked text, I used a translator

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Change the "Event/target…
Wed, 04/05/2023 - 16:58

Change the "Event/target entity" block in "Set Event/target entity on fire for (number) seconds" block to "Entity iterator" and put it inside of an if block with the condition (Not (((Event/target entity) = (Entity Iterator)) Or (Is (Entity iterator) (sub)type of [Item]))

(The If block makes it so that you won't light yourself on fire, or destroy any mob loot)