Test for what entity's are around you with in a radius

Started by AloneDumb on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Test for what entity's are around you with in a radius

Is there any way to see entity's that are within a certain block radius and make something happen to them not including yourself.

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I believe this can be done…
Fri, 05/24/2024 - 23:11

I believe this can be done with the "for each entity in a radius" block. It may have to be triggered by something like a player tick update though, and you would have to specify the entity iterator.