Skip to content

Commit

Permalink
add advancements
Browse files Browse the repository at this point in the history
  • Loading branch information
whwdzg committed Nov 9, 2024
1 parent 5be9ccd commit ea6d813
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/whw_recipe/advancement/grine_to_flint.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"id": "minecraft:flint"
},
"title": {
"translate": "精挑细筛"
"translate": "机床切石"
},
"description": {
"translate": "使用切石机从沙砾中筛出燧石,全能切石机无疑了"
"translate": "使用切石机从沙砾中筛出燧石,这是切石机干的活?"
},
"frame": "task",
"announce_to_chat": true,
Expand Down
59 changes: 59 additions & 0 deletions data/whw_recipe/advancement/grine_to_sand.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"criteria": {
"sand": {
"trigger": "minecraft:recipe_crafted",
"conditions": {
"recipe_id": "whw_recipe:sand",
"ingredients": [
{
"items": "minecraft:gravel"
}
]
}
},
"red_sand": {
"trigger": "minecraft:recipe_crafted",
"conditions": {
"recipe_id": "whw_recipe:red_sand",
"ingredients": [
{
"items": "minecraft:gravel"
}
]
}
},
"red_sand2":{
"trigger": "minecraft:recipe_crafted",
"conditions": {
"recipe_id": "whw_recipe:red_sand2",
"ingredients": [
{
"items": "minecraft:terracotta"
}
]
}
}
},
"display": {
"icon": {
"id": "minecraft:sand"
},
"title": {
"translate": "精挑细筛"
},
"description": {
"translate": "使用切石机从筛出沙子,全能切石机无疑了"
},
"frame": "task",
"announce_to_chat": true,
"hidden": false,
"show_toast": true
},
"parent": "whw_recipe:grine_to_gravel",
"requirements": [
["sand","red_sand","red_sand2"]
],
"rewards": {
"experience": 10
}
}

0 comments on commit ea6d813

Please sign in to comment.