hunger

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

Applies the Hunger effect to this entity.