90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Throwing your Weapons

Axe Throw defines a tag axe_throw:throwable that allows items to be thrown like tridents (by default, this contains the vanilla axes and swords of gold, diamond, and netherite). Thrown weapons will spin while moving through the air and damage entities upon contact. This mod also allows items in the tag to be enchanted with Loyalty, which will work like trident Loyalty. Thrown weapons will attempt to return to the slot they were thrown from when picked up.

To retain vanilla behavior, items in the axe_throw:throwable tag cannot be thrown immediately. This means they will default to the regular behavior (and therefore delegate item use logic to the offhand item, such as a shield). Press the Shift key while hovering over a valid ItemStack in the inventory to display the throwing mode.
Not throwable Throwable
To change the throwing mode, right-click on the ItemStack in the inventory. This will allow the ItemStack to be thrown like a trident.

Configuration:

Axe Throw adds two new gamerules:

  1. axe_throw:projectile_drag_in_water - Determines the drag in water for thrown weapons. By default, the value is set to 0.85.
  2. axe_throw:projectile_damage_multiplier - All damage dealt by thrown weapons will be multiplied by this amount. By default, the value is set to 0.7.

Axe Throw's config is powered by YetAnotherConfigLib (requires manual installation, not included). The config is accessible through ModMenu and allows the user to control how the throwing mode is displayed (SHIFT, ALWAYS, NEVER).


Project members

SkyNotTheLimit

Member

Details

Licensed MIT-0
Published 5 days ago
Updated 7 days ago