How to get the "actual" damage taken in "entity attacked/before entity is hurt" procedures

Started by RedWirePlatinum on

Topic category: User side tutorials

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get the "actual" damage taken in "entity attacked/before entity is hurt" procedures

So yea, I noticed the "amount" is usually the base number for damage taken but isn't the *actual* amount of damage taken. Getting the number of actual damage taken was pretty simple

Ex: skeleton arrow shots deal 4 damage in normal mode, if you wear a full set of netherite armor (w/o enchantments), the "health" number would be ~0.6 or ~0.9.

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NOBODY, and when I say…
Wed, 11/30/2022 - 21:47

NOBODY, and when I say nobody its really nobody, like I checked the WHOLE forum with every keyword from this. There was nothing that worked with potion correctly because of the dependencies and everything and you came here with an idea so basic and simple but so efficient ! Thank you so much you saved 2hours, I almost gave up xD Love u

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, this is probably…
Fri, 05/03/2024 - 23:18

Thanks, this is probably going to be very helpful