setMaximumNoDamageTicks

public abstract void setMaximumNoDamageTicks(int ticks)

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

Parameters

ticks

maximum amount of no damage ticks