How to create an entity that produces potion and sound effects within a certain radius

Started by Brocas on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to create an entity that produces potion and sound effects within a certain radius
Mon, 02/23/2026 - 17:51 (edited)

Hi im making a horror mod but the entity I created lacks visual effects.

I'm looking for a way to do it within a 15-block radius Give the players the blindness effect and play a song.

But so far I haven't found a way to do it or make it work.

(It's for Mcreator version 2024.4 and Forge version 1.20.1).

Edited by Brocas on Mon, 02/23/2026 - 17:51
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
for the entity tick update…
Sun, 03/01/2026 - 14:33

for the entity tick update trigger, make a procedure that does "for every entity in a box with size 15/30" give potion effect blindness to entity iterator and play sound for entity iterator