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

Started by slenered on

Topic category: Help with Minecraft modding (Java Edition)

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)

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?