This Minecraft tutorial explains the Absorption effect with screenshots and step-by-step instructions.
Background
The Absorption effect is a status effect that adds yellow Absorption hearts to your health bar.
These Absorption hearts add extra health to your health bar, but can not be replenished with food. When the Absorption effect ends, all of the yellow Absorption hearts will disappear.
There are levels of Absorption such as Absorption II, Absorption III, Absorption IV and so on. The higher the level of Absorption, the more Absorption hearts you will get. In the lastest version of Minecraft, you will get 2 Absorption hearts per level. This means that you will get 2 yellow hearts with Absorption I, 4 yellow hearts with Absorption II, 6 yellow hearts with Absorption III and so on.
Status Effect
Absorption
Type
Helpful Effect
Description
Adds yellow Absorption hearts  to your health bar. This is extra health that can not be replenished with food and disappear after the effect wears off
Effect Icon
Particles
Blue particle effects appear floating around you
Items that give Effect
Golden Apple Enchanted Golden Apple
Game Command
/effect command
Icon and Particle Effects
When you have the Absorption effect, the following icon will appear in the top right corner of your screen (in older versions of Minecraft, the effect icons only appears when you are viewing the inventory menu):
You will see particle effects floating around you. In the latest version of Minecraft, these particle effects will be blue.
When the Absorption effect wears off, the icon, particle effects and Absorption hearts will disappear. You will be back to your normal status.
Duration
Depending on how you get the effect, the duration of the Absorption effect will be different. To see how much time is remaining for the effect, go to your inventory menu.
In this example, it says 1:30 under Absorption so this means that there is 1 minute and 30 seconds remaining of the Absorption effect.
Items that give the Absorption Effect
The following are items that give the Absorption effect:
How to make a Golden Apple
How to make an Enchanted Golden Apple
Effect ID and Name
Minecraft Java Edition (PC/Mac)
In Minecraft, Absorption has the following effect ID and Name values:
Icon
Status Effect
(Minecraft ID Name)
ID
Platform
Version
Absorption
(minecraft:absorption)
22
Java Edition (PC/Mac)
Icon is the image that will appear when you have this effect.
Status Effect is what the effect is called and (Minecraft ID Name) is the string value used in the /effect command.
IDÂ is the Internal number for the effect.
Platform is the platform that applies.
Version is the Minecraft version number that the effect was introduced for the name and ID that is listed.
Effect Command for Absorption
Effect Command in Minecraft Java Edition (Current)
Absorption:
/effect give @p absorption 99999
Absorption II:
/effect give @p absorption 99999 1
Absorption (highest level):
/effect give @p absorption 99999 255
To remove all status effects, you can either drink milk or use the following /effect command:
/effect clear @p
Effect Command in Minecraft Java Edition (PC/Mac) 1.11 and 1.12
Absorption:
/effect @p absorption 99999
Absorption II:
/effect @p absorption 99999 1
Absorption (highest level):
/effect @p absorption 99999 255
To remove all status effects:
/effect @p clear
Other Status Effects
Here are the other status effects in Minecraft such as: