HomeJavaDatapacksGoat Horn Enchantments
Goat Horn Enchantments
DatapacksJava

Goat Horn Enchantments

by PhilipL · on Modrinth

Adds Enchantments for Goat Horns ✨ in vanilla Minecraft • Enjoy a brand new style of combat and make goat horns fun and useful

⬇ Download on Modrinth
Goat Horn Enchantments — screenshot 1Goat Horn Enchantments — screenshot 2Goat Horn Enchantments — screenshot 3Goat Horn Enchantments — screenshot 4

Have you ever wondered if you could use your Goat Horn for something useful?

Well, you can now use your beloved goat horn like a war horn.

This datapack adds 6 new enchantments for goat horns with varying effects. These are specifically made to be fun in a multiplayer setting. Though they are still very useful in singleplayer. They can allow you to take up a more summoner or supporter type role in combat.

Specifically designed to feel pretty vanilla

Feature overview

Enchantment overview

✨ Would reccomend discovering these enchantments on your own.

View Enchantments

Escape plan 💨

Play the horn to call a charge

Iron Will 🛡️

Brace yourself, stand your ground

Field Cleric 💛✨

Your mission is to aid your allies in combat

Dolphin Song 🐬

The magic song of the dolphin, grants you the gift of the sea

Fairy Whistle 🍀✨

Your song resonates with the frequency of the forest

Black Blood 🩸

Sacrifice yourself, corrupt your blood to feed your strength to your allies

Customization Guide

File structure
📦data
 ┣ 📂minecraft
 ┃ ┣ 📂instrument
 ┃ ┃ ┣ 📜admire_goat_horn.json
 ┃ ┃ ┣ 📜call_goat_horn.json
 ┃ ┃ ┣ 📜dream_goat_horn.json
 ┃ ┃ ┣ 📜feel_goat_horn.json
 ┃ ┃ ┣ 📜ponder_goat_horn.json
 ┃ ┃ ┣ 📜seek_goat_horn.json
 ┃ ┃ ┣ 📜sing_goat_horn.json
 ┃ ┃ ┗ 📜yearn_goat_horn.json
 ┃ ┗ 📂tags
 ┃ ┃ ┣ 📂enchantment
 ┃ ┃ ┗ 📂function
 ┗ 📂swizz
 ┃ ┣ 📂advancement
 ┃ ┣ 📂enchantment
 ┃ ┃ ┣ 📜black_blood.json
 ┃ ┃ ┣ 📜dolphin_song.json
 ┃ ┃ ┣ 📜escape_plan.json
 ┃ ┃ ┣ 📜fairy_whistle.json
 ┃ ┃ ┣ 📜field_medic.json
 ┃ ┃ ┗ 📜iron_will.json
 ┃ ┣ 📂function
 ┃ ┃ ┣ 📂particles
 ┃ ┃ ┣ 📜goat_horn_effect.mcfunction
 ┃ ┃ ┣ 📜goat_horn_execution_handler.mcfunction
 ┃ ┃ ┣ 📜load.mcfunction
 ┃ ┃ ┣ 📜tick.mcfunction
 ┃ ┃ ┗ 📜wandering_trade.mcfunction
 ┃ ┗ 📂tags
 ┃ ┃ ┣ 📂enchantment
 ┃ ┃ ┃ ┣ 📂exclusive_set
 ┃ ┃ ┃ ┣ 📜enabled_enchantments.json
 ┃ ┃ ┃ ┗ 📜goat_horn_enchantments.json
 ┃ ┃ ┗ 📂entity_type
 ┃ ┃ ┃ ┗ 📜ally.json
Disable select enchantment

If you dislike one enchantment you can make it unobtainable in survival

Step 1:

📦data
 ┣ 📂swizz
 ┃ ┣ 📂tags
 ┃ ┃ ┣ 📂enchantment
 ┃ ┃ ┃ ┗ 📜enabled_enchantments.json

Remove the line containing your specified enchantment from the list. Make sure the last line has no , symbol at the end or it will cause an error

Step 2:

📦data
 ┣ 📂swizz
 ┃ ┣ 📂function
 ┃ ┃ ┗ 📜wandering_trade.mcfunction

Scroll to the bottom of the file and look for a line ending with the enchantment you desire. Remove the line, or preferably place a # symbol at the very start of the line. This will "comment" out the line, meaning the enchantment can't be added to the wandering trader's trading table.

Make sure you put the # symbol at the very start of the line, or it can cause an error

Step 3:

Reload your world

/reload is not sufficient for enchantment related changes

Edit Goat Horn sound distance

Step 1:

📦data
 ┣ 📂minecraft
 ┃ ┣ 📂instrument
 ┃ ┃ ┣ 📜admire_goat_horn.json
 ┃ ┃ ┣ 📜call_goat_horn.json
 ┃ ┃ ┣ 📜dream_goat_horn.json
 ┃ ┃ ┣ 📜feel_goat_horn.json
 ┃ ┃ ┣ 📜ponder_goat_horn.json
 ┃ ┃ ┣ 📜seek_goat_horn.json
 ┃ ┃ ┣ 📜sing_goat_horn.json
 ┃ ┃ ┗ 📜yearn_goat_horn.json

For all the .json files listed above (all .json files in the instrument directory), edit the range variable to your choosen radius in blocks

"range": 128.0,

Make sure you only change the number, nothing else or you could experience and error.

Keep the .0 part and the , at the end.

Step 2:

Restart your world.

/reload will not update this

Change enchantment functionality

All enchantment logic is handled in

📦data
 ┣ 📂swizz
 ┃ ┣ 📂function
 ┃ ┃ ┣ 📜goat_horn_effect.mcfunction

Do not modify this unless you are somewhat experienced with the scripting language / minecraft commands

The enchantments do not carry any inherent effects.

Installation

  1. Download .zip
  2. Place it in the datapack folder within your saves
  3. Restart world if you are currently playing
📦.minecraft
 ┣ 📂saves
 ┃ ┣ 📂<world_name>
 ┃ ┃ ┣ 📂datapack
 ┃ ┃ ┃ ┗ [.zip here]

Other notes

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more