-
Bug
-
Resolution: Awaiting Response
-
None
-
Minecraft 1.13.1
-
None
-
Windows 10 1709
Java 8 181
-
Unconfirmed
-
Creative
-
(Unassigned)
Situation: I unlocked a custom recipe with the recipe book opened. A custom advancement detected it. Then, the custom advancement ran a custom function to take back that custom recipe and the custom advancement.
Problem: The custom recipe should be removed from the recipe book. However, I could still see the icon of the item from the new recipe. I clicked it and it showed nothing. Only re-opening the world save solves the problem.
Please also refer to the video (https://youtu.be/iv8yufVXku8).
Custom Recipe:
{ "type": "crafting_shapeless", "ingredients": [ { "item": "minecraft:redstone_lamp" } ], "result": { "item": "minecraft:glowstone", "count": 1 }, "group": "glowstone" }
Custom Advancement:
{ "parent": "test:lamp_to_glowstone", "display": { "icon": { "item": "minecraft:redstone_lamp" }, "title": { "text": "test" }, "description": { "text": "test" }, "frame": "goal", "show_toast": false, "announce_to_chat": false, "hidden": true }, "criteria": { "aa": { "trigger": "minecraft:recipe_unlocked", "conditions": { "recipe": "test:lamp_to_glowstone" } } }, "requirements": [ [ "aa" ] ], "rewards": { "function": "test:lamp_to_glowstone" } }
Custom Function:
give @s redstone 4 recipe take @s test:lamp_to_glowstone advancement revoke @s only test:lamp_to_glowstone