So,im making a gui when you press a button it removes like 5 wood and gives you a chair.
But when im making this,i can craft it always with 1 wood instead of 5 ,so when i have 1 it consumes it and i get this item. but when i have 5,it consumes all five and i also get that item.
So i would like to have that Procedure: "Has provided Entity {Wood} {5} in Inventory"
Issue comments
If you mean player invntory, there is only hasItemStack which checks for one item as far as I know. If I find a way around this, I will add this.
If you mean GUI, there is an option to check for the number of items in GUI and I would suggest you to go this route with making custom crafting GUIs.
These tutorials might help you in doing this:
In the inventory of player or inventory of GUI?