setNoDamageTicks

public abstract void setNoDamageTicks(int ticks)

Sets the living entity's current no damage ticks.

Parameters

ticks

amount of no damage ticks