Give any mob in a radius a effect

Started by Dr Doggo on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 months ago
Joined Jun 2024
Points:
122

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 13
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. 

Active 2 months ago
Joined Jun 2024
Points:
122

User statistics:

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

commands also didn't work

Active 5 hours ago
Joined Apr 2023
Points:
678

User statistics:

  • Modifications: 4
  • Forum topics: 23
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 545
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.

Active 2 months ago
Joined Jun 2024
Points:
122

User statistics:

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

thanks

Active 2 months ago
Joined Jun 2024
Points:
122

User statistics:

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

I can not find it

Active 2 months ago
Joined Jun 2024
Points:
122

User statistics:

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

nevermind I found it it works perfectly thank you a ton

Active 5 hours ago
Joined Apr 2023
Points:
678

User statistics:

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

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

Active 2 months ago
Joined Jun 2024
Points:
122

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 13
I know it is days after but…
Wed, 12/11/2024 - 20:22

I know it is days after but do you know how to make it affect every player except the one who did it

Active 7 months ago
Joined Nov 2024
Points:
72

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 38
Make a "And" Block with the…
Wed, 12/11/2024 - 21:19

Make a "And" Block with the first condition (entity iterator) and make the second condition "If Not Event/Entity = to "sub type Player". That or in your part that adds the effects you can add a "Remove specific potion effect" and make it target the nearest Player entity in a 40 block radius or something like that. 

Active 2 months ago
Joined Jun 2024
Points:
122

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 13
thank you too
Thu, 12/12/2024 - 16:53

thank you too

Active 2 months ago
Joined Jun 2024
Points:
122

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 13
does anyone know how to make…
Wed, 12/18/2024 - 19:52

does anyone know how to make people look at my other forums because this is the only one people have commented on

Active 7 months ago
Joined Nov 2024
Points:
72

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 38
If i knew i'd tell ya, this…
Wed, 12/18/2024 - 21:42

If i knew i'd tell ya, this forums pretty dead from admins or actual help though. I also posted on the forums trying to get help with a Crash Error that kept occurring while using structures, And Not one response lmao.