rockyhawk64 / CommandPanels

Command Panels main Github page. Wiki Page Below:
https://commandpanels.net/home
GNU General Public License v3.0
93 stars 24 forks source link

Support the creation of a villager trading panel and be able to use the trading function normally like in the original version. #323

Open Noogear opened 1 month ago

Noogear commented 1 month ago

Terms

Is your feature request related to a problem? Please describe.

A special menu can be created. The menu type is MERCHANT. Users can fill in the items required for the transaction and the transaction results to create the transaction menu.

Describe the solution you'd like

A special menu can be created. The menu type is MERCHANT. Users can fill in the items required for the transaction and the transaction results to create the transaction menu.The villager menu implemented in the original way has good compatibility with the Bedrock Edition. The main considerations are how to reduce the difficulty of creating this type of menu and the detection of special parameters. Regarding compatibility with other plugins (such as ia, mmoitem), I don't think it is necessary to deliberately make it compatible.

Describe alternatives you've considered

Thank you very much for your consideration. I think many people need this kind of function, but it is almost monopolized by shopkeepers. Currently, none of the NPCs made by sending packets support the villager trading function, and shopkeepers can only use the NPCs of Citizens 2, which is very bloated. I believe that if it can be realized, it will be a great invention.

Screenshots/Videos (you can drag and drop files or paste links)

No response

Noogear commented 1 month ago

You can refer to this: https://bettergui-mc.github.io/Docs/addon/trade-mart.html