Spiders shoot webbing at you - slinging webs from a distance, or when they hit you in melee!
Be careful! This makes spiders more difficult foes, since you get stuck in the webbing.
How to I make my mod's spiders also sling webs? There are several different options:
Slinging:slingers
webslinger:webslinger
EntitySpider
EntityCaveSpider
entity.tasks.addTask(7, new AIWebbingAttack(entity));
Can I sling webs myself?
webslinger:webbing