跳到正文

Nuggets API

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

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

NUGGETS API

Divider

Discord Button
GitHub Button
Modrinth Button
Ko-fi Button

Divider

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

Divider

✨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

Nugget Template

  • 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

Small 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

Wood Splinter

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

Stone Pebble

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

Coal Lump
Coal (Charcoal) Lump

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

Redstone Nugget

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

Quartz Shard

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

Amethyst Crystal

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

Lapis Lazuli Chunk

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

Emerald Chunk

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

Diamond Shard

  • 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)

Divider

🛠 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)
}

Divider

💘 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! 😀

Divider

常见问题

Nuggets API 支持哪些 Minecraft 版本?

Nuggets API 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Nuggets API 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

Titan1um 的其他作品

查看全部 →