Started by
Nerziq
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make a gui shop, for example, when writing a command, a window opened in which two buttons (close) and (buy), I also want to add products using another command to this window, how can I implement setting the price of the product and adding the product itself through the command to this window and when clicking buy, the scoreboard account was taken away. it should be something like this:
"the name and price of the product created through the command"
"the name and price of the product created through the command"
"the name and price of the product created through the command"
(close) (buy)