Items and blocks that change after set time period

Started by Finmide on

Topic category: Help with modding (Java Edition)

Last seen on 18:40, 12. Feb 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Items and blocks that change after set time period
Thu, 12/05/2019 - 04:06 (edited)

I was trying to make a mod and I need help with something. I am trying to make a Copper Ore and I want it so that while Copper (nugget, ingot, or block) is in your inventory or a chest inventory or even in the world itself I want it so that exactly 72000 ticks (three in game days) after it is crafted it will turn into an oxidized version. I know it will have to take one out of the inventory and put an oxidized version in it. However I am not sure how to get it to keep track of the ticks. If anyone has an idea how to do this I would like to hear them.

Edited by Finmide on Thu, 12/05/2019 - 04:06
You can use timers for this…
Thu, 12/05/2019 - 08:30

You can use timers for this.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Last seen on 18:40, 12. Feb 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It doesn't seem to work…
Mon, 12/30/2019 - 00:44

It doesn't seem to work cause it only tracks time while it is in your hand and there seems to be no option for it to do an action triggered by world tick anymore. Is there another way to achieve this?