How do i make a gui shop (SOLVED)

Started by Zexmus on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make a gui shop (SOLVED)
Tue, 08/27/2019 - 21:47 (edited)

Im making a gui shop but not sure how to make it so you have to buy the item with more than 1 item

example:

I have 1 iron ingot in the shop selling it for 15 dirt.

 

How do  i make it so it detects the 15 dirt and subtracts it and gives you the iron ingot???

Edited by Zexmus on Tue, 08/27/2019 - 21:47
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
erm still kinda confused…
Tue, 08/27/2019 - 05:59

erm still kinda confused none of those videos really show me how to check if the provided entity has 15 dirt in the inventory

You said you want to give 15…
Tue, 08/27/2019 - 10:33

You said you want to give 15 dirt, but even the other way around, you can use get number of items in slot procedure blocks to achieve this.

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ohhhhh, Okok I get it thanks…
Tue, 08/27/2019 - 21:47

Ohhhhh, Okok I get it thanks for the help.