Started by
Zexmus
on
Topic category: Help with Minecraft 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
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
This page should help: https://mcreator.net/wiki/making-guis-slots
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 dirt, but even the other way around, you can use get number of items in slot procedure blocks to achieve this.
Ohhhhh, Okok I get it thanks for the help.
You are welcome!