How to place a "canplaceon" tag on villager's trades

//ads -- adsterra.com -- native banner
?>
I'm trying to make an adventure map, and I want to do a merchant with blocks who contains the "Canplaceon" tag
Pictures about "How to place a "canplaceon" tag on villager's trades"



How do you autofill a villager trade?
Villagers who have not been traded with can also have their trades automatically reset very easily. This can be accomplished by destroying the job site of the desired villager. The player can then replace it and hope that the villager's trade will be different.How do you customize villager trades with commands?
How to Get the Best Offers from Villager TradesCommands #1: CanDestroy CanPlaceOn in Adventure Mode
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ketut Subiyanto, Karolina Grabowska, Karolina Grabowska, Karolina Grabowska