This datapack depends on: DrakonCore
Also works best with Tool Embed
Throwable Axes introduces custom enchantments that allow you to throw and recall your axes, just like God of War's Leviathan Axe!
If your axe has the Throwing enchantment, press Drop Item (Q) to throw the axe. The axe flies in an arc until it hits a mob or block, and damages mobs that it hits. It also cuts through certain easily-breakable blocks, including most plants, Tripwire, Scaffolding, and Amethyst Buds. It can also break Leaves and Pointed Dripstone, but is halted by these blocks. The damage your axe deals does not depend on enchantments: All axes greater than or equal to Stone deal 12 damage, while Wooden Axes deal only 6 damage. To drop the axe normally without throwing it, drag it out of your inventory screen instead of pressing the Drop Item key.
If your axe has the Recalling enchantment, press Sneak (SHIFT) with an empty hand to recall the axe. This causes it to fly back towards you from its current position. It will also cut through easily-breakable blocks and deal 6 damage to mobs on the way back. This always works whether the axe is in flight, is dropped as an item, or is embedded (from Tool Embed). While the enchantments are independent, the Returning enchantment is largely ineffective on axes without the Throwing enchantment unless you also have Tool Embed, which lets you recall it from model form.
If your Throwing axe also has Fire Aspect (can only be done with special commands) or Sharpness, it has a special trail effect when in flight! In addition, a Fire Aspect axe will catch nearby mobs on fire when in flight.
Side note: These enchantments are not part of the vanilla enchantment system, and are created by modifying the item's NBT. Therefore, it may be lost if used as the secondary item in an Anvil or if the item is used in a crafting recipe.
To obtain the Throwing or Recalling enchantments, you must craft a Throwing Grip or a Frozen Flame (respectively) in a crafting bench. Then, the items may be applied using custom anvil forging: drop the Axe and the enchantment item on top of an anvil to combine them together. This also requires 10 experience levels to enchant, and will not work if the Axe already has the enchantment!
Throwing Grip
2x Quartz
1x Leather
1x Stick
1x Feather
4x Diamonds
Frozen Flame (shapeless—can be crafted in any formation)
1x Blue Ice
1x Any Coral Block
1x Magma Block
1x Blaze Rod
1x Netherite Scrap
1x Heart of the Sea
1x Sponge
1x Soul Sand
1x Crying Obsidian
The recipe for a Throwing Grip, which provides the Throwing enchantment.
The recipe for a Frozen Flame (shapeless), which provides the Recalling enchantment.
Admins may use the provided item modifiers with the /item modify command to enchant any axe (note that the modifier may be applied to, but will not work on, other items!). They may also use the command /function dc_throwable_axes:give/leviathan_axe to gain a pre-made Leviathan Axe to play around with!
This pack works best with and has special interactions with Tool Embed:
Thrown axes can embed into the ground.
The Recalling enchantment works even when the axe is embedded. You pick the axe up normally if within range. The Recalling enchantment works on embedded Axe models, even if they do not have Throwing.
Sneaking for 5 seconds makes your non-Recalling axe models glow.