Anvil Data
Vanilla Minecraft gives you a handful of anvil recipes, but what if you want to tweak repair costs, add new combinations, or completely overhaul the anvil's behavior? That's where Anvil Data steps in. This clever add-on introduces a dedicated recipe type for anvils, meaning you can define exactly how items combine, what they produce, and how much experience it costs—all through simple data pack files. No more hardcoded limitations; you become the blacksmith.
What Is Anvil Data?
At its core, Anvil Data is a lightweight mod that expands Minecraft's recipe system. Normally, anvil mechanics are locked behind complex code, making them difficult to modify without deep modding knowledge. This mod changes that by exposing anvil recipes to the data pack format. You can now create JSON files that specify input items, output items, and the experience cost for any combination you can imagine. Whether you want to repair a diamond pickaxe with netherite scraps, combine two enchanted books in a new way, or even add entirely custom items from other mods, Anvil Data makes it possible.
The beauty of this approach is its simplicity. You don't need to write a single line of Java. Just drop a data pack into your world or server, and the anvil will recognize the new recipes instantly. This opens up endless possibilities for map makers, server admins, and players who want a more tailored survival experience.
How to Install Anvil Data for Minecraft
Getting started with Anvil Data for Minecraft is straightforward, but it does require a mod loader. The mod is available for both Fabric and Forge, covering popular versions like 1.19.2, 1.19.4, and 1.20.1. Here's a quick guide:
- Install a mod loader. If you haven't already, set up Fabric Loader or Forge for your Minecraft version. Fabric is often preferred for its lightweight nature, but both work perfectly.
- Download Anvil Data. Grab the latest .jar file from a trusted source. Place it in your mods folder, just like any other mod.
- Create or add a data pack. The mod itself doesn't include recipes; you'll need to write your own or use community-made packs. Place the data pack in the datapacks folder of your world save.
- Launch the game and test. Open your world, place an anvil, and try out your custom recipe. If everything is set up correctly, the anvil will accept the new combination.
If you're looking for a hassle-free way to manage mods and data packs, the foxygame.net launcher offers a built-in add-on catalog where you can find Anvil Data ready for one-click installation. It automatically handles version compatibility and keeps your mods up to date, so you can focus on crafting instead of troubleshooting.
Creating Your First Anvil Recipe
Anvil Data uses a JSON structure similar to other recipe types. A typical recipe file might look like this:
{
"type": "anvildata:anvil_recipe",
"input_left": {
"item": "minecraft:diamond_pickaxe"
},
"input_right": {
"item": "minecraft:netherite_ingot"
},
"output": {
"item": "minecraft:netherite_pickaxe",
"count": 1
},
"xp_cost": 15
}
This example lets you upgrade a diamond pickaxe to netherite directly in the anvil, bypassing the smithing table. You can adjust the xp_cost to balance the recipe, or even set it to zero for creative worlds. The mod supports item tags, NBT data, and count specifications, so you can get as detailed as you need.
Supported Inputs and Outputs
- Items and tags. Use any item ID or tag like
#minecraft:planksfor broad compatibility. - Enchantments. Preserve or modify enchantments by referencing NBT data in the output.
- Modded items. Anvil Data works seamlessly with items from other mods, as long as they're registered in the game.
Why Use Anvil Data Over Traditional Mods?
Many mods that alter anvil behavior are monolithic—they change the entire mechanic and often conflict with other mods. Anvil Data takes a modular approach. It doesn't touch the vanilla anvil code; it simply adds a new recipe type that the anvil can read. This means it's highly compatible with other mods and won't break when Minecraft updates. Plus, data packs are easier to share and customize than full mods.
For server owners, this is a game-changer. You can design unique progression systems where players must combine rare items in the anvil to unlock powerful gear, all without requiring clients to install anything extra. The recipes are server-side, so players join and immediately experience the custom content.
Compatibility and Performance
Anvil Data is designed to be lightweight. It only adds a recipe serializer and a few mixins to hook into the anvil's logic. There's no noticeable impact on performance, even on large servers with hundreds of custom recipes. The mod is actively maintained for modern Minecraft versions, with builds available for 1.19.2, 1.19.4, and 1.20.1 on both Fabric and Forge. Always check the mod's official page for the latest supported versions before you download Anvil Data.
Expanding the Anvil's Potential
Once you start using Anvil Data, you'll wonder why this wasn't in the base game. Imagine repairing elytra with phantom membranes at a lower cost, combining two damaged tools into one with added durability, or creating custom "reforge" recipes that add attributes to weapons. The only limit is your creativity—and the JSON syntax.
If you're new to data pack creation, plenty of tutorials are available online. Start with simple recipes and gradually add conditions or NBT checks. The mod's documentation (usually found on its download page) provides examples and a full list of supported parameters. And if you ever get stuck, the Minecraft modding community is incredibly helpful.
For those who prefer a plug-and-play experience, the foxygame.net launcher includes a curated selection of data packs that work with Anvil Data, complete with auto-updates and version matching. It's a convenient way to explore what the mod can do without manually hunting down files.
Final Thoughts
Anvil Data fills a gap that many players didn't even realize existed. By turning anvil recipes into data-driven content, it empowers the community to innovate and share custom mechanics effortlessly. Whether you're a map maker crafting a unique adventure, a server admin balancing economy, or a player who just wants cheaper repairs, this mod delivers. Download it, experiment with your own recipes, and watch the humble anvil become the most versatile block in your world.