mojira.dev
MC-236055

spawning villagers using summon with a custom trade and interacting with them will make the trade to appear then disapper

as the title suggest i cant trade with villagers that i summoned(i added a trade (1 that should work (emerald for paper) and one that i thought it would crash(air for map)))

for under a second the trade ui shows up then closes, i thought it was because my loop key was on but no, i tried with normal ones and it worked(villagers), and the special villagers would go to get a job even if they already have a trade, summoning villagers with professions (cleric, none, unused) will spawn a blank one(plain(both plain as biome and plain as the common) one, with brown clothes)

Related issues

Comments

migrated

Please provide the used command.

migrated

it does not matter, i tried to troubleshoot but the command was good, and i used mcstaker because i forgot how to make them, this /summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"minecraft:emerald",Count:1b},sell:{id:"minecraft:paper",Count:1b}}]}} is not what i was using but it does the same thing

Avoma

Duplicate of MC-164353.

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-164353, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

command

1.17.1

Retrieved