Detect mobs near player

Started by demire on

Topic category: Advanced modding

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect mobs near player

How exactly do I detect a mob, specifically a creeper in this case near the player, at least a 3-5 block range, if possible provide a procedure block needed.
2024.4 mcreator

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the "For each entity as…
Wed, 02/26/2025 - 17:25

Use the "For each entity as entity iterator" code block and filter for creepers.

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks helpful
Wed, 02/26/2025 - 19:39

Thanks helpful