Minecraft Java Edition Commands – How to Remove Villager Careers from Their Trading Interface

minecraft-commandsminecraft-java-edition

I am a custom mapmaker and I need to know if there is a command to remove the annoying villager careers from their trading interface in minecraft 1.8, or to make a custom villager career. Is there any way to spawn a custom villager that has no career/custom career?

Best Answer

If you mean just the display name, then a custom name will replace it:

/summon Villager ~ ~1 ~ {CustomName:"A Villager",Career:1}

If you mean to prevent careers from affecting trades (since trading will refresh trades based on their career), then you need to set their "Career" to a non-0 value that also corresponds to their "Profession" (a value of 1 covers all professions), as well as set their "CareerLevel" to a value higher than the 'maximum' level for that career (which varies).

For example, the following villager will never create new trades.

/summon Villager ~ ~1 ~ {CustomName:"A Villager",Career:1,CareerLevel:100}