Help with block timer

Started by DasenSenju on

Topic category: Help with modding (Java Edition)

Last seen on 08:47, 18. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with block timer

I am making a block for map making and I want it to spawn an entity or item 2 blocks above it every hour. I have been stuck on this for a while now, any help is greatly appreciated.

Last seen on 23:39, 29. Apr 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use an nbt to count…
Thu, 04/04/2024 - 23:43

you can use an nbt to count up every tick, which if you do the math for how many ticks in an hour, you can have a trigger activate when it goes over which spawns the items, and then make sure the nbt is set to 0 after the item is spawned, as to create the loop

Last seen on 08:47, 18. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I already know how many…
Fri, 04/05/2024 - 01:28

I already know how many ticks are in an hour but the problem is that I have made nbt timers multiple times and they didin't work well.

Last seen on 23:39, 29. Apr 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could use a global block…
Fri, 04/05/2024 - 03:12

you could use a global block variable number that counts up instead