wither

fun LivingEntity.wither(duration: Duration, amplifier: Int = 0)

Applies the Wither effect to this entity.