How to get amount of damage an entity has received

Started by paisleypug on

Topic category: Help with MCreator software

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get amount of damage an entity has received

Hello, I know there are multiple other posts with this question, but all the ones I can find don't have an answer. Anyway, I'd like to know how to get the amount of damage an entity has just received. 

I am sincerely sorry if this question has been already answered somewhere, but I can't seem to find an answer.

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you use the "before…
Fri, 03/01/2024 - 15:17

if you use the "before entity is hurt" or "entity attacked" there should be a dependancy called "amount" that gets added that you can call for.

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I looked back at this, and i…
Mon, 10/27/2025 - 01:59

I looked back at this, and i'm really confused, where do i find amount?

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@limegirl741 If the trigger…
Wed, 12/03/2025 - 03:43

@limegirl741

If the trigger is "Before entity is hurt" or "Entity attacks", there should be "amount" as a number dependency (You can view provided dependencies in Bottom Right corner). Double-Clicking it gives you "Number dependency: amount" procedure block as a number block.