Jump to content

[1.16] Is there some sort of callback when player interacts with villager?


vladocc

Recommended Posts

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.

Edited by vladocc
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.