![Copper Hopper](https://media.forgecdn.net/avatars/thumbnails/489/466/256/256/637795562804025738.png)
Copper Hopper and Minecart lack recipe advancements
anoomolu opened this issue ยท 0 comments
Hiya! I play with the recipe book enabled, and noticed that the above recipes don't unlock when obtaining a Hopper and Minecart respectively (at least on 1.20.1). The below can be placed in a json in data/advancements/recipes/ to get this working:
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_item": {
"conditions": {
"items": [
{
"items": [
"minecraft:hopper"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "copperhopper:copper_hopper"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"copperhopper:copper_hopper"
]
},
"sends_telemetry_event": false
}
Replace the hopper with a minecart and copper_hopper with copper_hopper_minecart and the other recipe should work fine. Thanks for yet another lovely mod!