How to force block tick update procedure for a naturally generated block?

Started by zarizer on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined May 2022
Points:
325

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
How to force block tick update procedure for a naturally generated block?

When block generates naturally it doesn't run ANY of procedures. How can I fix it?

 

Active 2 weeks ago
Joined Mar 2020
Points:
727

User statistics:

  • Modifications: 6
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 105
Hello!If it's a custom block…
Tue, 08/01/2023 - 19:58

Hello!
If it's a custom block, you can enable Tick randomly in Advanced properties, and make the procedure you want run on Update tick.

Hope this helps!

Active 1 year ago
Joined May 2022
Points:
325

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Thanks a lot! It actually…
Tue, 08/01/2023 - 20:09

Thanks a lot! It actually works finally!!! (was spending 3 days to find that ticks need to be random).

Thats already cool enogh but do you know how to make those blocks not randomly ticking?

 

Active 2 weeks ago
Joined Mar 2020
Points:
727

User statistics:

  • Modifications: 6
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 105
The only other method I can…
Tue, 08/01/2023 - 20:15

The only other method I can think of, which is way more complicated, is using an on player tick update procedure that scans the area around the player in a certain radius and updates all the blocks in an interval of your choosing.

Active 1 year ago
Joined May 2022
Points:
325

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
that's not variant I can use…
Tue, 08/01/2023 - 20:19

that's not variant I can use in my situation but thank you