I'm making a shop where you spawn a villager and trade emeralds for stuff. I set it so the trade could only be done once. Is there a way to make it so they die after all of their trades are gone?
Also, how do you give them a slowness effect? I don't want them to run off.
Also, how do you give them a slowness effect? I don't want them to run off.