promotional bannermobile promotional banner

Crossbow Save Arrow

Per-crossbow ammo storage for Hytale. Each crossbow remembers its loaded arrows independently.

File Details

CrossbowSaveArrow-0.0.3.jar

  • R
  • Jan 30, 2026
  • 13.80 KB
  • 673
  • Early Access

File Name

CrossbowSaveArrow-0.0.3.jar

Supported Versions

  • Early Access

v0.0.3 — Universal weapon detection

All 4 mixins no longer check itemId.contains("Crossbow") to identify crossbows. Detection is now based on presence of LoadedAmmo/CrossbowUUID metadata.

Changed

  • EntityStatMapMixin — writes LoadedAmmo metadata on any ammo stat change, regardless of item name
  • StatModifiersManagerMixin — detects weapons by presence of LoadedAmmo metadata instead of name
  • ModifyInventoryInteractionMixin — checks for metadata on held item instead of name
  • ItemStackMixin — checks for our metadata keys in BsonDocument instead of item name

Fixed

  • Ammo loss on swap with modded crossbows that use non-standard item IDs (e.g. MB crossbows with MasBallestas_Hierro)