Should be ```entityvillager.addEffect(effect);```