mojira.dev
MC-273452

Bad generation of villagers with commandos

When wanting to customize a villager with a command block, these are generated incorrectly regarding the number of items for trades: 

The command I use is:

 

/summon minecraft:villager ~ ~1 ~ {VillagerData:{profession:fletcher,level:99,type:snow},Offers:{Recipes:[{buy:{id:diamond,Count:33},sell:{id:emerald,Count:4},maxUses:999999,rewardExp:0b}]}}

 

As you can see in the photo, the villagers do not change the number of items and this did not usually happen in versions prior to 1.21 

If there is no error in this and the command language has simply been changed, please could you help me by writing the correct command. 

Thank you so much

Attachments

Comments 2

⚠️ Please do not mark issues as private, unless your bug report is an exploit or contains information about your username or server.

Thank you for your report!
However, this issue is Invalid.

Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.

  • Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.

  • A world which had previously been opened with a modified client might be corrupted. Please try reproducing the issue in a newly generated world.

  • Any plugin issues need to be addressed to the creator of the plugin or resource pack.

  • If you have problems on large servers like Hypixel, please contact them first as they run modified server software.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Joaquinxxx

(Unassigned)

Unconfirmed

(Unassigned)

1.21

Retrieved