85 lines
2.4 KiB
Markdown
85 lines
2.4 KiB
Markdown
---
|
|
name: Nbt Crafting
|
|
slug: nbt-crafting
|
|
curseforge: nbt-crafting
|
|
modrinth: nbt-crafting
|
|
github: https://github.com/Siphalor/nbt-crafting
|
|
excerpt: Extend the existing customizable crafting system to be able to do more complex operations on items.
|
|
mc_versions: [1.15, 1.16, 1.17]
|
|
---
|
|
|
|
## About
|
|
|
|
It's a fabric mod which allows you to add/change JSON crafting/cooking/etc. recipes to use nbt input and output.
|
|
|
|
Everything is kept nicely visualized in the vanilla gui.
|
|
|
|
This can be achieved through the now reintroduced data attribute.
|
|
|
|
For more information see [the wiki pages](https://mcwiki.siphalor.de/nbt-crafting/v2).
|
|
|
|
You may want to use this mod with [Cotton](https://minecraft.curseforge.com/projects/cotton) since this enables you to load datapacks globally and to remove unwanted recipes.
|
|
|
|
## Extras :)
|
|
|
|
Nbt Crafting also gives you the ability to add new brewing recipes and enables you to add cauldron and anvil recipes. See [the wiki]((https://mcwiki.siphalor.de/nbt-crafting/v2)) for an explanation of these features.
|
|
|
|
Due to some additions made with this mod the recipe book displays also the output amount of all recipes - yay!
|
|
|
|
|
|
## Server Usage
|
|
|
|
This mod works also server-side only. This causes minor cosmetic issues at the client side.
|
|
|
|
## Example
|
|
|
|
A simple recipe to get a cool "Battle Axe" of a diamond and a diamond sword with less than 41 damage.
|
|
|
|
```json
|
|
{
|
|
"type": "crafting_shapeless",
|
|
"ingredients": [
|
|
{
|
|
"item": "minecraft:diamond_sword",
|
|
"data": {
|
|
"require": {
|
|
"Damage": "$..40"
|
|
}
|
|
}
|
|
},
|
|
{ "item": "minecraft:diamond" }
|
|
],
|
|
"result": {
|
|
"item": "minecraft:diamond_axe",
|
|
"data": {
|
|
"display": {
|
|
"Name": "{\"text\":\"Battle Axe\"}"
|
|
},
|
|
"Enchantments": [
|
|
{
|
|
"id": "minecraft:sharpness",
|
|
"lvl": 10
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
## Demo
|
|
|
|

|
|
|
|
## Mod support
|
|
|
|
Every mod which is based on the default vanilla recipe system and which uses the Ingredient class should be compatible in terms of input nbt matching.
|
|
|
|
## Feedback
|
|
|
|
If you encounter bugs or have suggestions just [open a GitHub issue](https://github.com/Siphalor/nbt-crafting/issues/new/choose).
|
|
|
|
|
|
## License/Modpack usage
|
|
|
|
This mod is released under Apache 2.0. Feel free to include it in modpacks etc. as long as you attribute me :)
|