Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
Add example/test recipes for custom beef cooking
Browse files Browse the repository at this point in the history
  • Loading branch information
Siphalor committed Jul 16, 2022
1 parent dcefd30 commit 7fb5433
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/testmod/resources/data/minecraft/recipes/cooked_beef.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "minecraft:smelting",
"ingredient": {
"item": "minecraft:beef",
"data": {
"deny": {
"CustomModelData": 1
}
}
},
"result": {
"item": "minecraft:cooked_beef"
},
"experience": 0.35,
"cookingtime": 200
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "minecraft:smelting",
"cookingtime": 200,
"experience": 0.35,
"ingredient": {
"item": "minecraft:beef",
"data": {
"require": {
"CustomModelData": 1
}
}
},
"result": {
"item": "minecraft:cooked_beef",
"data": {
"CustomModelData": 1,
"display": {
"Name": "[{\"text\":\"Custom meat\",\"italic\":false}]"
}
}
}
}

0 comments on commit 7fb5433

Please sign in to comment.