Replacing Minecraft's Default Data Pack (1.19)
- Professional Loser

- Apr 28, 2023
- 1 min read
Don't know how to make custom recipes? See: How to make Custom Crafting Recipes
Don't know how to edit data files? See: How To Edit Data Files for Minecraft
Did you know that you can change the default recipes that Minecraft uses?
In fact, you can replace ALL of Minecraft's default Data pack files!
It's very easy to do, too!
All you need to do is add a new folder to your Data Pack.
This folder goes right next to your namespace folder, and you need to call it "minecraft".

Basically, Minecraft reads the namespaces of these folders applies it to everything inside of that folder.
So, if you had a custom recipe named "stick" in the "example_namespace" folder, it would be identified as "example_namespace:stick" in-game.
See where I'm getting at? If you add a custom recipe called "iron_sword" to the "minecraft" folder, and Minecraft reads that recipe, it'll apply it in-game as "minecraft:iron_sword".
Of course, there's already a recipe for that in-game, so your custom one will effectively override it.
This works for all the different elements that can be inside of a namespace folder.
Just put it under the "minecraft" namespace and you can replace it.
Loot tables, recipes, advancements, tags... if it's a valid folder for Minecraft's default pack, you can override it in yours!
That's all! Told you it was easy.
Have a good day, and read my other tutorials if this one helped you.



Comments