getMaximumNoDamageTicks

public abstract int getMaximumNoDamageTicks()

Returns the living entity's current maximum no damage ticks.

This is the maximum duration in which the living entity will not take damage.

Return

maximum no damage ticks