checkbox for trades

Started by doxo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
checkbox for trades

Hello

Im trying to make a new GUI for trades and i wanted to do something like if the item and the number of item in box 1 is enough to trade for whats in box 2 then the checkbox gets checked and you can trade. The problem is i dont know how to do that can someone help me please?

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think you can do…
Sat, 10/22/2022 - 19:01

I don't think you can do this with a gui checkbox. But you can create 2 images, one for the checkbox frame and one for the check itself. Make the check only appear if the trade is possible.