How to detect when an entity takes damage near a specific block

Started by anonym_msm on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect when an entity takes damage near a specific block

I'm trying to make a damage detector, which detects if any entity takes damage and then return a redstone power. I've tried for hours but nothing works. Any help?

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure with a…
Thu, 05/08/2025 - 20:14

Make a procedure with a global trigger of Entity attacked then check for the damage detector if it is found put Something like damage detected = true for a property