The QUARK mod present on the modpack contains a Soul Bead item.

From the Quark site:

Wraiths drop a Soul Bead item. Right clicking it will break it, and inflict a Curse debuff on the player for 20 minutes. Mobs in a 64 block radius of a player with Curse will spawn ignoring light levels and other conditions (like slime chunk restrictions). Curse can not be cleansed with Milk.

-QUARK MOD, WORLD TAB