You begin with only one heart.
Hearts can be gained, by consuming an item dropped by a custom mob.
Every death, however, you reset to one heart.