Random block tick speed

Started by Krisp1k on Sun, 03/07/2021 - 14:08

Topic category: Help with modding (Java Edition)

Last seen on 22:37, 28. May 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Random block tick speed
Sun, 03/07/2021 - 14:08

So I was just wondering if there is any way how to make specified blocks tick at random speed. Ive tried using random() procedures, but it didnt seem to work.

Any ideas,please ?

Last seen on 18:51, 15. Jan 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
go to advanced properties,…
Mon, 06/21/2021 - 21:13

go to advanced properties, and check the "random tick speed". This will tick your block the parameters in the gamerule RandomTickSpeed. You can then add the procedure 

if (random <= (random chance))

do

        \\ stuff