Arrow Recovery
ModMIT

Arrow Recovery

Lightweight and highly configurable Fabric mod that allows you to retrieve arrows from mobs after you kill them.

462
Downloads
4
Followers
4 months ago
Updated
📦
3
Versions

📖About Arrow Recovery

Arrow Recovery is a Fabric mod that tracks projectiles stuck in mobs and drops them at the death location when the mob dies. The mod features a configurable 75% recovery chance, along with particle and sound effects for 'broken' arrows. It also has unique handling for tipped arrows, which have a chance to either retain their effect or degrade into regular arrows upon recovery.

Features

Configurable Returns

  • Customize the chance to recover arrows and the probability of tipped arrows retaining their potion effects.

Visual & Auditory Feedback

  • Arrows that fail the recovery roll spawn "broken" particle effects and a sound effect so you know when an arrow becomes unrecoverable.

High Compatibility

  • Built using standard item tags, ensuring full support for vanilla arrows, tipped arrows, and most modded arrows out of the box.

Lightweight & Lag-Free

  • Optimized to handle high arrow volumes without impacting server performance, particularly in large mob farms.
  • Smart cleanup system prevents memory buildup while avoiding lag spikes during mass mob deaths.
  • Efficient lookup methods ensure arrow tracking stays fast regardless of how many projectiles are in flight.
  • Handles enchantments like Piercing and Multishot without creating duplicate arrow drops or performance issues.

Additional Information

Heavily influenced by Pepperoni-Jabroni's Arrow Entity Loot Drop. I'm in the middle of making a custom modpack for 1.21.5, but their mod wasn't updated for that version. I loved the idea so much that I decided to create my own. My mod offers superior mod compatibility with large-scale server performance optimizations in mind.

  • Arrows shot while in creative mode do not break or drop when the mob dies. This is a side effect of how my mod works.
  • Works great with KuudraLoremaster's Entity Pin Cushion Revived! Broken arrows will still show up on the mob, but I feel that visually seeing arrows in the mob more than makes up for any inconsistency.