Give any mob in a radius a effect

Started by Dr Doggo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Give any mob in a radius a effect

I'm trying to make a helmet that give any entity in a 20 block radius an effect but I tried everything and looked at tutorials but found nothing. 

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
commands also didn't work
Sun, 12/08/2024 - 15:31

commands also didn't work

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a procedure block …
Sun, 12/08/2024 - 15:51

There is a procedure block 'for each entity in 4 block radius as entity iterator do'

You can switch the 4 out for 20.

Then, inside the first procedure block, place the procedure block to give a potion effect to event/target entity.

Finally, THE MOST IMPORTANT STEP you need to make sure to change event/target entity in the potion effect block out for entity iterator.

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks
Sun, 12/08/2024 - 16:49

thanks

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can not find it
Sun, 12/08/2024 - 16:51

I can not find it

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nevermind I found it it…
Sun, 12/08/2024 - 16:56

nevermind I found it it works perfectly thank you a ton

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem, I'm glad I was…
Sun, 12/08/2024 - 17:00

No problem, I'm glad I was able to help.