Better Spider Mechanics
Better Spider Mechanics is a Minecraft Bedrock add-on that enhances Spider and Cave Spider mechanics by introducing new web-based abilities.

This add-on aims to make spider behavior more dynamic, provide new challenges, and add variety to encounters with these mobs.
🕷️ Main Features
1. Web Trail
Spiders and Cave Spiders have the ability to leave Cobweb trails as they move.

There is a 5% chance every 20 ticks to generate a Cobweb at the mob's position, provided the target block is empty.
2. Web Shooter
Introduces Web Shooter variants for both Spider and Cave Spider, featuring the ability to attack players using web projectiles.

These variants use a distance-based attack system while retaining the basic movement characteristics and wall-climbing abilities of spiders.
3. Spawn Rates
Spider Shooter and Cave Spider Shooter have different spawn chances depending on the world's difficulty setting:
- Easy: 1% spawn chance.
- Normal: 10% spawn chance.
- Hard: 20% spawn chance.
These spawn chances adjust according to the current Minecraft world difficulty.
4. Web Projectile
Web Projectile is a special web-shaped projectile used by Web Shooter variants.

Projectile features include:
- Particle effects while traveling.
- Collision detection with blocks and entities.
- Generates Cobweb upon hitting a target or surface.
- Sound effects upon impact.
⚔️ Behavior Mechanics
Spider Shooter and Cave Spider Shooter variants are 100% Hostile toward players. They will always behave aggressively regardless of lighting conditions.
Both variants feature a distance-based attack mode system:
- Melee Mode (0–2 Blocks): Switches to close-range melee attacks when the player is within approximately 2 blocks.
- Shooter Mode (3–15 Blocks): Switches to ranged attacks and fires Web Projectiles at the player.
- Pursuit Mode (Beyond 15 Blocks): Chases the player to close the distance until they re-enter its attack range.
This system allows Spider Shooter and Cave Spider Shooter to dynamically adapt their attack methods based on the player's distance.
🛠️ Crafting
Web Projectile can also be crafted.

Recipe:
- 1 String
- 1 Slime Ball
Output: 3 Web Projectiles.
🎮 Compatibility
This add-on is designed for Minecraft Bedrock Edition and focuses on enhancing Spider and Cave Spider mechanics without removing the core identity of these mobs.

