Nbt Crafting


Latest release tested for up to: 1.14 Pre-Release 3


About

It's a simple 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.

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.


{
"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.

Extra


Due to some additions made with this mod the recipe book displays also the output amount of all recipes - yay!

Feedback

 

If you encouter bugs or have suggestions just open a GitHub issue.

 

License/Modpack usage

 

This mod is released under CC0. Feel free to reuse code or to include it in modpacks etc.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    314633
  • Created
    Feb 16, 2019
  • Last Released File
    Apr 17, 2019
  • Total Downloads
    265
  • License

Categories

Members

Recent Files