Attempting to create a custom entity that has the economy_trade_table behavior with a custom file path for the table parameter will either show an empty trade window when the player tries to trade with the custom entity, or the trade window will display the trades but the wandering trader's trading window will not show any trades.
Comments 8
In addition,wandering trader would be affected too,when behavior pack added/modified more than 95 entities,trade screen would be blank.I'm convinced this is a BUG,limited entity number of my addon to 95
This bug still presist in 1.14.30 I was trying to make a custom trade for an custom entity in my realm but the wandering trader's trade will disappear. The interesting part is when the custom entity has the wandering trader's trade file the wandering trader doesn't lost its trade but when I change it to something else like a custom trade or the butcher's trade the wandering trader's trade will dissapear.
This is still a bug but I've found a fix that we can do, it should still be fixed though! To get around it, in your custom entity create a new component group trading, put the minecraft:trade_table in there and have the minecraft:behavior.trade_with_player in the regular components, then in the minecraft:entity_spawned events add the trading component group. This will somehow fix the bug (at least it did for me).
Note that you'll probably need to do this to the wandering trader file as well to get his trades back.
Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response
Is this still an issue in the latest version?
If it is, please be sure to include 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
My addon affected by this too,when customed/added entities more than 95,custom trade table won't work anymore.In 1.11 version the game will just crash.It has troubled me 3 months,please fix it