How to make an event know if any player has obtained a certain item

Started by azoboe11 on

Topic category: Help with modding (Java Edition)

Last seen on 20:38, 13. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an event know if any player has obtained a certain item

I want to make a global event that runs every morning and checks if any player has obtained diamond gear, if they have then there will be a chance to run an event, is there any way to make this possible?

Also is there any better way of making a procedure run "every morning", i currently just have an if statement in a global tick which checks if its a certain time.