• Hey! Register here to create your account, engage with the community, and talk about what is new!

Cancel villager trading menu [SOLVED]

CoderElias

Well-known member
Overlord
Joined
Jun 15, 2022
Messages
78
Reaction score
10
I am making a game containing NPC's, which are disguised villagers. The problem is that when I right-click them it opens the trading menu, I have tried almost everything like canceling the event, closing inventory menu, etc. I do want to use villagers just because they have the best AI, but if you have another mob with similiar AI I would galdy hear it!
 

CoderElias

Well-known member
Overlord
Joined
Jun 15, 2022
Messages
78
Reaction score
10
you could try adding a 1 tick wait before the player action of your choice
I have already tried this, but have found another solutions that works. I changed the villager profession to none which does not trade any items.
Thank you for helping though!
 
Top Bottom