On a behavior pack, if more than one custom entity has the minecraft:economy_trade_table component with a specified table path, only one of them will work, the other(s) one(s) will show an empty trade window.
Reproduction steps:
1: download the world file attached. This world has 4 custom entities and 4 custom trades
2: Interact with each custom entities, only one entity is showing a trade
3: delete the entity with the working trade from the behavior and relaunch the game
4: Interact again with the entities left, one of the entities that hadn't trades before now have its own trade available
5: (optional) Repeat the last 3 steps and see the same result
Attachments
Comments 6
someone found a way to make it work : https://bugs.mojang.com/browse/MCPE-50524?focusedCommentId=699217&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-699217
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response
Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).
Also, just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem:
Steps to Reproduce:
1.
2.
3.Observed Results:
(Briefly describe what happens)Expected Results:
(Briefly describe what should happen)
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
OMG
i've been coding for the last 10 days and got that issue i didn't know what i was doing wrong. Thanks i'm not the only one.
Exact same problem : if there are more than one custom entity they can't have different trading tables. Only one will work.
(If the custom entities share the same trading table, the issue doesn't occur, though)
Please fix this as i need it so much to finish my addon
EDIT : same problem occurs when i put the 2 entities in 2 different addon. One addon will work, the other one won't.
take care <3