setMaximumAir

public abstract void setMaximumAir(int ticks)

Sets the maximum amount of air the living entity can have, in ticks.

Parameters

ticks

maximum amount of air