RestockReady explains the vanilla state behind a Minecraft Java Edition villager that will not restock.
Hold paper, sneak, and use it on a villager. Private system messages report:
RestockReady is read-only. It does not generate or modify offers, relink villagers, force restocks, move blocks, load chunks, or scan every villager. A remembered workstation does not prove path reachability, so the report asks the player to verify the route instead of claiming certainty.
Use requires paper plus sneak-use on a villager. Paper is not consumed.
Requirements:
Install RestockReady and Fabric API on the dedicated server. Connecting players do not need the mod. Install both locally for singleplayer.