Detect mobs near player

Started by demire on

Topic category: Advanced modding

Active 1 month ago
Joined Feb 2025
Points:
15

User statistics:

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

Active 6 days ago
Joined May 2021
Points:
577

User statistics:

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

Active 1 month ago
Joined Feb 2025
Points:
15

User statistics:

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

Thanks helpful