Better Datapacks

Better Datapacks

Increases the scope of what can be done with a datapack.

by
410 Downloads
fabricutility
Rent Server with this Mod

About this Mod

Better Datapacks

Environment: Server
Mod Loader: Fabric

This mod aims to improve and add upon what is possible with the datapack system in Vanilla, ideally shooting for
completely server-side features

Requires Fabric API

Implemented

  • execute raycast and execute if raycast have been added to the subcommands.
  • Advancement trigger better_datapacks:block_broken detects when a block is broken.
  • Recipe type better_datapacks:empty lets you overwrite a recipe with nothing, without an error log.
  • Recipe type better_datapacks:potion and better_datapacks:potion_item to make potion recipes
  • calculate command 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 events folder 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

Better Datapacks 1.2.1release
MC 1.20.4fabric
January 28, 2024
Better Datapacks 1.2.0release
MC 1.20.2fabric
January 3, 2024
Better Datapacks 1.1.0release
MC 1.20.2fabric
December 14, 2023
Better Datapacks 1.0.0release
MC 1.20.2fabric
December 7, 2023

How to Install Better Datapacks on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

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

fabric

Minecraft Versions

1.20.4, 1.20.2

Server-side

Required

Recommended 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.

Rent Modded Server

Install Better Datapacks with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.41.20.2