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.

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Don't you have to set that…
Sun, 01/05/2025 - 22:01

Don't you have to set that your item is ticking and create a procedure that: IF the item is ticking DO disappear. You can set up the time of disappearance. You can base the procedure on crop examples, but instead of model change, you could add model removal