
Better Datapacks
Increases the scope of what can be done with a datapack.
About this Mod
Better Datapacks
This mod aims to improve and add upon what is possible with the datapack system in Vanilla, ideally shooting for
completely server-side features
Implemented
execute raycastandexecute if raycasthave been added to the subcommands.- Advancement trigger
better_datapacks:block_brokendetects when a block is broken. - Recipe type
better_datapacks:emptylets you overwrite a recipe with nothing, without an error log. - Recipe type
better_datapacks:potionandbetter_datapacks:potion_itemto make potion recipes calculatecommand that lets you do a lot of math operations between just about any number and storing it just about anywhere- Nbt Crafting in shaped, shapeless, and smithing recipes
- Events, which go in the
eventsfolder in a datapack, similar to advancements.
Planned
- Negative Tags (removing something from a tag without rewriting the entire thing)
- Custom Enchants* (primitive, will do nothing but be compatible with anvils and such)
- Custom Commands (with arguments and everything, will execute a function using the macro feature)
*might not be able to do this only serverside
Feedback
If you find a bug or have an idea, be sure to create an issue!
Would also love it if anyone wants to make a pull request, help is always appreciated!
Available Versions
How to Install Better Datapacks on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "Better Datapacks". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.2
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Better Datapacks server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.
Is Better Datapacks compatible with fabric?
Better Datapacks officially supports fabric for Minecraft 1.20.4, 1.20.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Better Datapacks – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Better Datapacks consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Better Datapacks with just one click on your server.
