The bug
The recipe_unlocked, recipe_crafted, and crafter_recipe_crafted advancement trigger criteria specify a list of recipe IDs for which unlocking or crafting them will run the trigger. However, now these recipes can be inlined as full recipe definitions, which is pointless because it’s impossible to interact with a recipe that’s not registered as an actual recipe.
How to reproduce
Download and apply the attached data pack: [mediaInline]
It contains the following advancement definition:{ "criteria": { "test": { "trigger": "recipe_unlocked", "conditions": { "recipes": { "type": "crafting_shapeless", "ingredients": ["apple"], "result": "apple" } } } } }Run
/advancement grant @s only test:test
Expected result
The advancement should fail to load
Observed result
It loads, but will never trigger
Linked issues
is duplicated by 1
Attachments
Comments 0
No comments.