health

abstract val health: Int

The current health of the orb.

Experience orbs can take damage from fire, lava, falling anvils, and explosions. The orb is destroyed when this value reaches 0.