Epic

create a datapack that lets me craft a leather chestplate custom named interceptor body armor crafted with leather and netherite ingots and dyed 3687203 and protection level 16 with armor 3 and armor toughness 3 attribute

1.21.11

Kodari AI
KodariOct 11 at 12:52 pm 1
InterceptorArmorCrafting
Creates a custom crafting recipe for "Interceptor Body Armor," a leather chestplate with a custom name, dyed color 3687203, protection level 16, and armor/armor toughness attributes of 3. Crafted using leather and netherite ingots, this datapack adds a unique high-tier armor piece to the game through a defined recipe and item modification system.

Created the shaped recipe: 8 leather and 1 netherite ingot craft an Interceptor Body Armor leather chestplate with dye color 3687203, Protection XVI, armor 3, and toughness 3.

Download the ZIP using the export button, extract interceptor_body_armor into your world’s datapacks/ folder, then run /reload. Use /datapack list to verify it loaded and /function interceptor:unlock_recipe to unlock the recipe for testing.

Epic

how to export

Kodari AI
KodariOct 11 at 12:53 pm 1

Click the Export button in the project interface to download the datapack ZIP. Extract it so the interceptor_body_armor folder—with pack.mcmeta directly inside it—is in your world’s datapacks/ folder, then run /reload.

Epic

it doesnt work

Kodari AI
KodariOct 11 at 12:58 pm 1

The datapack metadata targets 1.21.4, not 1.21.11. I’ll update its format, then you’ll need to export the updated ZIP and reload it in-game.

I updated the pack for Minecraft 1.21.11. Export and download the ZIP again—the old download won’t include the fix.

Extract it so pack.mcmeta is at: <your world>/datapacks/interceptor_body_armor/pack.mcmeta

Then run /reload, check /datapack list enabled, and run /function interceptor:unlock_recipe to unlock the recipe. Its pattern uses 7 leather and 1 netherite ingot:

Plain Text
L N L
L   L
L L L

If it still fails, send me the exact in-game error and confirm your Minecraft version.

Kodari can make mistakes. Review important code before using.
Files
interceptor_body_armor
Code
3 60
interceptor_body_armor/data/interceptor/function/unlock_recipe.mcfunction
recipe give @s interceptor:body_armor