Teach me how to work with ticks

Started by ильяlitkak on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Teach me how to work with ticks

The thing is, I want to create an item that disappears after the time in the inventory has expired, but I don't understand how to create a procedure where if an item is in the inventory after 30 seconds, it disappears or is replaced with a new one.