Cave Spiders for Crawling

This compact modification was created for my Resurvival modpack to punish players who try to avoid cave encounters by hiding in narrow 1x1 block passages.
When you kill spiders while crawling, cave spiders emerge from them! Additionally, zombies and husks spawn silverfish, while pillagers, vindicators, evokers, and illusioners summon vexes.
All these effects activate only during crawling. The probability of their occurrence when killing a mob in this position can be changed in the configuration settings.
The modification also includes an empty mcfunction file that can be configured to perform any actions when killing specific mobs from the entity_types list in the mcfunction_spawners.json file. Furthermore, you can change which mobs spawn other mobs using other tags.