In the minecraft wiki page Chunk Format, it says for Villager:
CareerLevel: The current level of this villager's trading options. Influences the trading options generated by the villager; if it is greater than their career's maximum level, no new offers are generated. Increments when a trade causes offers to be refreshed. If 0, the next trade to do this will assign a new Career and set CareerLevel to 1. Set to a high enough level and there will be no new trades to release (Career must be set to 1 or above).
I used this code and after trading an acacia wood door for an acacia wood fence, the villager still leveled up and gained all their possible non-custom trades:
As the quote says, villagers will also need a "Career" of 1 or higher, though the maximum value is dependent on the "Profession". A "Career" of 1 covers all professions:
As the quote says, villagers will also need a "Career" of 1 or higher, though the maximum value is dependent on the "Profession". A "Career" of 1 covers all professions:
In the minecraft wiki page Chunk Format, it says for Villager:
I used this code and after trading an acacia wood door for an acacia wood fence, the villager still leveled up and gained all their possible non-custom trades:
Is there something I'm doing wrong or need to do?
As the quote says, villagers will also need a "Career" of 1 or higher, though the maximum value is dependent on the "Profession". A "Career" of 1 covers all professions:
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Okay I see now, thanks. I thought if I summon a villager, it already has random career set to it by default, unless I set it.