How do you get the attacker's attack damage, or prevent death, like a totem

Started by slenered on

Topic category: Help with modding (Java Edition)

Last seen on 02:09, 23. Oct 2022
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you get the attacker's attack damage, or prevent death, like a totem

In the trigger 'Before entity is hurt' it gives me a dependency called 'amount' is there 'entity Damage' or 'entity Damage taken'

any advice is helpful...(except that it's impossible)

Advanced section in…
Sat, 10/17/2020 - 12:38

Advanced section in procedure editor -> number dependency -> enter desired dependency name

Last seen on 22:26, 17. Apr 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi Klemen, It's still…
Sun, 01/16/2022 - 20:46

Hi Klemen, It's still unclear to me as to how you would use this number dependency to test for the damage and entity will deal, could you clarify this at all or direct me to a resource that will help me to understand?