Started by
Ne0n_Cat
on
Topic category: Help with Minecraft modding (Java Edition)
How do I check "does the player have 2 silicon in the inventory", I know there is a block: "If the player has [] in the inventory", but I want to know if it is possible to check: "Does the player have 2 or more items in the inventory".
p.s. sorry for my English.
An example of what I'm trying to do: https://drive.google.com/file/d/1VH_6j5_rC_5vAZHFNPb2erUusIeRKukq/view?usp=sharing
If there are items in the inventory and the block matched, then a pickaxe is made, all this works if done just like that: https://drive.google.com/file/d/1ZVAbPpjzcQJXATbjz924MxymkK4wUHLW/view?usp=drive_link
Get the item(stack) from the slot you want and you "get stack size" procedure block to get its size
I'm sorry, but could you explain to me how to do this? It would be great if you attached a screenshot with an example. I've been trying to figure out how to do this for three days now.