I want to lock trading menu for a player until they receive an advancement, but I can't find how to do that in docs.
I see it as something like:
1. Player clicks on villager
2. I receive a callback in my code.
3. If player has advancement, trading menu opens. Otherwise message pop up in chat.
Important Information
By using this site, you agree to our Terms of Use.