How do I check for a certain amount of items?

Started by SikeOfTime on Thu, 06/03/2021 - 21:29

Topic category: Help with modding (Java Edition)

Last seen on 22:07, 11. Jun 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I check for a certain amount of items?
Thu, 06/03/2021 - 21:29

I want to have it check a players inventory for specifically 64 iron ingots and I don't know how.

Last seen on 04:07, 23. Jul 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
maybe use something like…
Fri, 06/04/2021 - 17:22

maybe use something like this, it need some changes but it should work like what you want, though you will need to replace a few of these since the image I am providing is used in a gui

https://media.discordapp.net/attachments/692839780538384555/85041729681…;

Last seen on 02:01, 23. Jul 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Broken link
Fri, 06/04/2021 - 21:04

Broken link