
Nuggets API
Nuggets API is a lightweight Fabric library that adds various nuggets items and material fragments to the game!
Screenshots


About this Mod


📝Introduction:
A lightweight Fabric library for standardized nuggets and material fragments.
The goal of Nuggets API is simple: stop every mod from reinventing the same tiny materials in slightly different ways. This project provides a clean and lightweight foundation that other mods can build on, ensuring a unified experience for players and developers alike.

✨Features:
Built from the ground up to be lightweight and lag-free and uses common c: tags as well as our own nuggets-api: tags for seamless integration with your mods, this API library adds various nuggets items and material fragments to the game. It is also translated into various well used languages like French, German, Chinese and Spanish!
Items
Nugget Template -> a template required to craft all of the new nuggets! Crafted using 4 sticks in a circle pattern

Small Smithing Template -> a netherite upgrade smithing template but smaller, used when upgrading a diamond nugget to netherite. Can be found in bastion remnants or crafted with 1 regular smithing template

You can also craft back a regular smithing template by using 9 small smithing templates!
Nuggets
Wood Splinter -> a wood nugget. Can be crafted using 1 nugget template and 1 stick

Stone Pebble -> a stone nugget. Can be crafted using 1 nugget template and 1 stone

Coal Lump -> a coal nugget. Can be crafted using 1 nugget template and 1 coal or 1 charcoal


Redstone Nugget -> a redstone nugget. Can be crafted using 1 nugget template and 1 redstone

Quartz Shard -> a quartz nugget. Can be crafted using 1 nugget template and 1 quartz

Amethyst Crystal -> an amethyst nugget. Can be crafted using 1 nugget template and 1 amethyst shard

Lapis Lazuli Chunk -> a lapis lazuli nugget. Can be crafted using 1 nugget template and 1 lapis lazuli

Emerald Chunk -> an emerald nugget. Can be crafted using 1 nugget template and 1 emerald

Diamond Shard -> a diamond nugget. Can be crafted using 1 nugget template and 1 precious diamond

Netherite Nugget -> a netherite nugget. Obtained by smithing a diamond nugget with the small smithing template and a netherite ingot or by crafting using 1 nugget template and 1 valuable netherite ingot
![Netherite Nugget [Smithing]](https://cdn.modrinth.com/data/cached_images/01f4821900a79048fb4b11c7b27f02ec2f05fcf3.png)
![Netherite Nugget [Crafting]](https://cdn.modrinth.com/data/cached_images/607c4672d43f58f8266d54b623e6cd69615a0ddd.png)

🛠 For Developers
Nuggets API is built with integration in mind. All materials are exposed through tags, making cross-compatibility straightforward. You are encouraged to use tags in your recipes rather than hard-coding item dependencies!
Common Tag Reference
| Material | Item ID | Common Tag (c:) |
|---|---|---|
| Diamond | nuggets-api:diamond_nugget |
#c:nuggets/diamond |
| Netherite | nuggets-api:netherite_nugget |
#c:nuggets/netherite |
| Emerald | nuggets-api:emerald_nugget |
#c:nuggets/emerald |
| Nugget Template | nuggets-api:nugget_template |
#c:nuggets/template |
| Small Smithing Template | nuggets-api:small_netherite_upgrade_smithing_template |
#c:smithing_templates/small_netherite_upgrade |
📦 Installation
To use Nuggets API in your development environment, add the following to your build.gradle:
repositories {
maven { url = "https://jitpack.io" } // Optional but required if you wish to bundle the API into your mod by using the include dependency below
}
dependencies { // You can change the API version after nuggets-api: to the one you want to use
modImplementation "com.titan1um:nuggets-api:a1.0.0+1.20.1" // Required
include "com.github.T1taniumF0rge-Industries-Inc:nuggets-api:a1.0.0+1.20.1" // Optional unless you want to bundle the API into your mod (Jar-in-Jar)
}

💘 Support me!
To help me and make me develop more fascinating projects, share and recommend this mod. Thank you so much!!!
You can also try my other projects here or the projects me and Polr made here! :D

Available Versions
How to Install Nuggets API 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.1).
Install Mod
Open the mod browser in the dashboard and search for "Nuggets API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Nuggets API 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.1). You can switch loaders with one click in the panel.
Is Nuggets API compatible with fabric?
Nuggets API officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Nuggets API – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Nuggets API 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 Nuggets API with just one click on your server.
