SpoornPacks
by spoorn
SpoornPacks is a Fabric library that generates resource asset data and feeds it to the game through a generated pack, so mod creators can define resources in code.
What it does
Creating a block or item in vanilla-style mods usually means writing several JSON files whose contents are often cryptic and tied to registries, methods and classes. The library replaces that work with simple APIs: a mod creator makes a resource in a single one-line Java call, and the generated asset data is supplied to the game through a generated pack. The generated files can still be overridden by the mod's own resource files.
The library covers blocks, items, structures, features and similar content, and is aimed at most common cases, while remaining extensible for more complex ones. Details of the API are described on the project wiki. The author says it is used in their own mod.
SpoornPacks requires Fabric API. It is published for Fabric only, across 10 release versions, 1.18 – 1.20.1, with snapshot builds also published. The environment is client and server, and the code is released under the GNU Lesser General Public License v3.0 only, so it is open source.
Key features
Code-defined resources
Mod creators define blocks, items and other resources in Java code rather than writing each JSON file by hand.
Generated resource pack
Resource asset data is generated and supplied to the game at runtime through a generated pack.
Override support
Generated resources can be replaced by the mod's own resource files, so custom textures and models still apply.
Wiki documentation
The project wiki describes the APIs in more detail for creators who want to go beyond the basic calls.
Compatibility
Latest build for each game version and loader.
1.20.x2 of 2 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 2 mods
Use cases
Who it’s for: Mod developers on Fabric who want to create blocks, items and other resources in code. Players who only install finished mods do not need to work with the library directly.
How it compares
Resource Library is open source under the MIT License and runs on Fabric, Forge, NeoForge and Quilt for 1.20 – 26.3, so it covers more loaders and versions than SpoornPacks. DynamicAssetAccessor is also client and server and open source under the GNU Lesser General Public License v3.0 only, but it is Fabric-only and supports 1.19 – 1.19.3, a narrower range.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| SpoornPacks | Fabric | 1.18 – 1.20.1 | Client and server | 2023-07-17 |
| Resource Library | Fabric, Forge, NeoForge and Quilt | 1.20 – 26.3 | Client and server | 2026-10-11 |
| DynamicAssetAccessor | Fabric | 1.19 – 1.19.3 | Client and server | 2023-01-05 |
Questions
Does SpoornPacks need Fabric API?
Does the server need SpoornPacks installed?
Which game versions have files?
Which mods depend on SpoornPacks?
In the catalog
SpoornPacks is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from spoorn
Similar mods
What the author says
SpoornPacks is an API Library mod for the Minecraft Fabric mod loader that adds simple-to-use APIs for automagically generating resource asset and data files, and injects them into the game as a mock Resource Pack. This allows mod creators to create their resources entirely in code with very succinct APIs, while…
Official listing
- Modrinth page
- modrinth.com/mod/spoornpacks
- Owner
- spoorn
- Published
- 2022-02-08
- Updated on Modrinth
- 2023-07-17
- Facts verified
- 2026-10-15
