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

Started by RedWirePlatinum on

Topic category: User side tutorials

Active 1 day ago
Joined May 2022
Points:
733

User statistics:

  • Modifications: 1
  • Forum topics: 43
  • Wiki pages: 0
  • MCreator plugins: 2
  • Comments: 149
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.

Active 10 months ago
Joined Jun 2021
Points:
545

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
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

Active 12 hours ago
Joined Oct 2021
Points:
614

User statistics:

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

Thanks, this is probably going to be very helpful