burn mobs around the player

Started by TZO_Ghoul on

Topic category: User side tutorials

Last seen on 10:18, 20. Apr 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
burn mobs around the player

I really need to know how to set fire to mobs around the player in a 5 by 5 by 5 block area 

Last seen on 15:43, 1. Jan 2024
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Under whatever trigger you…
Sat, 10/03/2020 - 23:46

Under whatever trigger you want it to be (when item in inventory tick, when right clicked with item, ect), you can have it set fire to the closest entity in a radius simply using the "Get nearest entity at X: Y: Z: in square cube with side (4) of type _____".
But I assume you mean all mobs in the radius.

This'll be a little trickier, but one way you could do it is by having it run a command like "effect give @e[distance=0.01..5] mod_id_thing:CustomPotionName", and then have said custom potion do nothing except set entities with the potion effect on fire. By putting a "set entity on fire for ___" in a procedure triggered by the start of the potion being added. It could then be set to be an instant potion, and/or remove itself right after setting an entity on fire by having it run a command of something like "effect clear @e[limit=1] mod_id_thing:CustomPotionName".

Though, This might be more complicated that it has to be.

Last seen on 14:49, 4. Dec 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Klemen where is entity…
Wed, 07/26/2023 - 13:10

@Klemen where is entity iderator

 

Last seen on 14:49, 4. Dec 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm i found it  
Wed, 07/26/2023 - 13:11

nvm i found it