ModsFinder

Better Datapacks

by Micalobia

Better Datapacks extends what a datapack can do on a Fabric server, adding commands, recipe types, advancement triggers and tag removal that vanilla datapacks lack.

FabricServer-side onlyMIT LicenseOpen source1.20.2 – 1.20.4

What it does

The mod widens the scope of what a datapack can express. Its execute command gains a raycast subcommand, and a calculate command performs math operations on numbers and stores the results anywhere a datapack can reach. Recipes gain new types: an empty type removes a recipe without writing an error to the log, a potion type creates potion recipes, and NBT-aware shaped, shapeless and smithing recipes are available.

Advancements can use a block-broken trigger, and events can be defined in an events folder in a datapack, following the same pattern as advancements. Negative tags let a datapack remove a single entry from an existing tag without rewriting the whole tag. The author describes the aim as improving on the datapack system while staying close to vanilla behavior.

Better Datapacks is a Fabric mod with the required dependency Fabric API. It is server-side only, so players join without installing it and the server alone needs it. Files exist for 1.20.2 and 1.20.4, and the latest Fabric file is 1.2.1 for 1.20.4. The code is released under the MIT License and is open source.

Key features

  1. Raycast execute subcommand

    The execute command gains a raycast subcommand for running logic against the block or entity a player is looking at.

  2. Calculate command

    A calculate command runs math operations on numbers and stores the result in a score or data location of the datapack's choice.

  3. Block-broken advancement trigger

    An advancement trigger fires when a block is broken, so datapack progression can react to mining.

  4. Negative tags

    Single entries can be removed from an existing tag without replacing the whole tag, which keeps overrides short.

  5. Events folder

    Datapacks gain an events folder that defines event-driven logic in a format similar to advancements.

Compatibility

Latest build for each game version and loader.

1.20.41.2.1
1.20.21.2.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Questions

Does Better Datapacks need to be installed on clients?

No. The mod is server-side only, so only the server needs it and players can join without installing it.

Which Fabric API version is required?

Fabric API is required. Install it alongside Better Datapacks on the server.

Does Better Datapacks work on Forge or NeoForge?

No. Its files are published for Fabric only, for 1.20.2 and 1.20.4.

In the catalog

Better Datapacks is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 13,907 mods support Minecraft 1.20.4.

More from Micalobia

All projects

Similar mods

What the author says

This mod aims to improve and add upon what is possible with the datapack system in Vanilla, ideally shooting for completely server-side features 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!
Micalobia, on the Modrinth page

Official listing

Owner
Micalobia
Published
2023-12-07
Updated on Modrinth
2024-01-28
Facts verified
2026-10-15

Tags