getDuration

public int getDuration()

Returns the duration (in ticks) that this effect will run for when applied to getClassById LivingEntity.

Return

The duration of the effect