-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jason Spangler edited this page Jul 24, 2018
·
7 revisions
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:
- In the mod configuration, add the mob to the
Slinging:slingers
list. - Add the
webslinger:webslinger
capability to the mob. - Subclass
EntitySpider
for your new spider - seeEntityCaveSpider
in vanilla MC for an example. - Adding the AIWebbingAttack task to an entity is another method:
entity.tasks.addTask(7, new AIWebbingAttack(entity));
- In the mod configuration, add the mob to the
-
Can I sling webs myself?
- In Creative mode or with console cheat commands, create
webslinger:webbing
items and throw them like snowballs.
- In Creative mode or with console cheat commands, create
- PlayerInWebMessage.java is from the WebShooter mod (which inspired this mod) by Joseph C. Sible