How to detect item attack damage

Started by Nintwendo on Sun, 06/27/2021 - 01:42

Topic category: Help with MCreator software

Last seen on 13:54, 19. Sep 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to detect item attack damage
Sun, 06/27/2021 - 01:42

So I want to detect (In a procedure) how much damage an entity (the player) does, i.e. how much damage the item in its hand does. I am using the procedure when EntityAttacked, and I see that there is a given value listed as "amount", which I assume is the amount of damage that was done by the entity, but I do not know how to access its value to use in my procedure.