Absorption acting strange

Started by beastboy_ on

Topic category: Help with modding (Java Edition)

Last seen on 17:09, 19. Mar 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Absorption acting strange

When I give myself absorption it always gives me way too much when it should give only a tiny bit.

 

Script

Whenever I use this, using a netherite axe with 10 attack damage it gives about 23 hearts of absorption when it should only give about 4. I've tried several things and every time it gives way too much.

Last seen on 20:45, 24. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The give effect block will…
Thu, 04/06/2023 - 13:18

The give effect block will give you the absoption potion effect, not exact absorption hearts.  A rough way to convert is to divide by 4 because the absorption potion effect gives you 2 hearts(4 hp) per level.