poison

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

Applies the Poison effect to this entity.