Detecting an amount of an item

Started by Spyjetray on

Topic category: Help with modding (Java Edition)

Last seen on 14:17, 4. Dec 2020
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detecting an amount of an item

Hi,

In my mod, I want to set up a procedure that requires 5 gold nuggets to craft something but only if the player has the nuggets in their inventory.

I know there is no procedure block that checks the amount of an item in a player's inventory (yet hopefully) but is there some sort of clever workaround to this?

Thanks.