recipe_unlocked advancement trigger requires the recipe condition
The recipe condition for the recipe_unlocked advancement trigger is required, not optional.
How to reproduce:
- In the launcher, go to the settings and enable "Open output log when Minecraft: Java Edition starts."
- Launch a modern enough version of Minecraft.
- Go to the world creation menu.
- Add the attached datapack to the world.
- Create the world and look at the log. You will find the error message "Parsing error loading custom advancement manossef:recipe_unlocked: Missing recipe, expected to find a string."
What I expected to happen was:
I could make an advancement that triggers when I get any recipe at all.
What actually happened was:
The recipe condition is required, so the game threw an error in the log when I tried to do that.
Relates to MC-186503.
2022-04-08, 01:30 PM
2023-07-20, 07:21 AM
2023-07-20, 07:21 AM
3
1
1.18.2 - 1.20.1
1.18.2, 22w14a, 22w15a, 22w17a, 1.19 Pre-release 2, 1.19, 1.19.1 Pre-release 6, 1.19.1, 1.19.2, 22w42a, 22w43a, 22w44a, 22w46a, 1.19.3 Pre-release 1, 1.19.3, 23w03a, 1.19.4 Pre-release 1, 1.19.4, 23w16a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20, 1.20.1
-