How to make a block that spreads to a different block like grass but instead a different block

Started by bronsonlensen on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a block that spreads to a different block like grass but instead a different block

I need it for a cool new "invasion" mod

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On block tick, if random[0,1…
Tue, 06/02/2026 - 10:26

On block tick, if random[0,1]>0.9, replace block at x-1 y z, x+1 y z, x y z+1, z y z-1. Or add an if for each direction each tick. You can also add x y+1 z and x y-1 z and diagonals with all combinations