Set how long an entity is invincible after taking damage.
The entity ID
Invincibility duration in seconds
Set how long an entity is invincible after taking damage.