Master Rank Villagers do not spawn with full chain of trades while using:
/summon villager ~ ~1 ~ {VillagerData:{profession:farmer,level:5,type:plains}}
They only spawn with trades that become unlocked at the specific level they unlock it at. Instead of a Novice Rank villager being traded with and ranked up to Master Rank villager and getting all the trades.
Thank you for your report!
We're actually already tracking this issue in MC-135775, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote or any additional information to the main ticket it would be appreciated.
Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.
Quick Links:
📓 Bug Tracker Guidelines – 🛠 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 💬 Mojira Discord