The bug
When the recipesunlock gamerule is set to false, all recipes appear in the crafting book, even locked ones.
How to reproduce
/recipe take @p */recipe give @p minecraft:tntLook in a crafting table
-> ✔ TNT is the only available option in the recipe book/gamerule recipesunlock falseLook in a crafting table again
-> ❌ All recipes are now available
Expected result
TNT should be the only available option both times
Observed result
The second time, all recipes appear
Notes
I disabled recipesunlock because I want the player to have no recipes unlocked (except the ones I specifically grant), not all of them. However, due to the resolution of MCPE-240481, adventure maps can simply leave recipesunlock on true to get the desired behavior.
Comments 0
No comments.