Method to return absorption?

hi,
for my plugins, i need to collect absorption hearts. Where are a method to return the number of absorption heart ?

1 Like

Get the potion effect data. The level of the absorption potion effect, times two, is the number of full hearts.

Yeah but the player may have taken some damages

Then you’ll have to track the damage as well.

The vanilla server is already doing that for us, we only need to add a getter in the api

I create a issue on SpongeAPI
Thank you for all