Topic category: Help with modding (Java Edition)
Im making a gui shop but not sure how to make it so you have to buy the item with more than 1 item
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???