Potion Tick Immunity

Potion Tick Immunity, or just Tick Immunity, is a type of immunity you can gain by potion effects dealing damage to you. This immunity works off the basis of a Immunity Frames.

Levels of immunity
It is good to note that each tick is 50 Milliseconds long and 20 happen each second.

This makes you immune for 1 tick out of the 20. This can be done by either Instant damage, Poison or Wither.
 * 1 Tick Immunity

This makes you immune for 2 ticks out of the 20. This is done by 2 of these effects: Poison, Wither or Instant Damage.
 * 2 Tick Immunity

This makes you immune for 3 ticks out of the 20. This is done by all 3 of these effects: Poison, Wither and Instant Damage.
 * 3 Tick Immunity

Miscellaneous

 * Being on fire with all of these effects doesn't give you 4 Tick Immunity.
 * Because normally all of these effects are at the max possible level, it is needed to also add Instant Health to not instantly die from the Instant Damage.