Random block tick speed

Started by Krisp1k on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Nov 2020
Points:
623

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
Random block tick speed

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 ?

Active 2 years ago
Joined Mar 2021
Points:
611

User statistics:

  • Modifications: 3
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 15
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