How to check how many items a player has in their inventory 2020.2

Started by Brobill on

Topic category: Help with modding (Java Edition)

Last seen on 20:32, 8. Sep 2023
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check how many items a player has in their inventory 2020.2

Im trying to make a shop that checks how many emeralds or diamonds you have but i have come into a problem where i can only check if they have the item in their inventory and not how many of that item is in there inventory