Easy NPC

Easy NPC

2M Downloads

How do you refresh npc trades?

RichPrune opened this issue ยท 4 comments

commented

just a question.

commented

The NPC using the villager trade system, so in general you can reset the trades with the following:

  • Reseting the NBT data or using higher numbers for the trades limits.
  • Levelup the NPC, which should also reset the trades
  • Wait until the trade is rested by itself.

With the next update there will be a command to reset and a option to automatically after 24 hours in-game time.
But let me know if you looking for a different method for resting the trades and I will check if I could implement it with the next update as well.

commented

how do i level up npcs? How long until it auto resets currently? How do i set higher numbers for trade limits?

commented

There are two relevant NBT entries in this case maxUses and uses like:

image

If you increase maxUses to something like 512 or higher there should be no need to refresh them.
Or you can just reset the uses to 0, which automatically happen randomly if there is no trade for a while but could take some time.

commented

I added a auto reset timer (... in minutes) in version 2.0.0 which automatically refresh the trades.