Having blocks spawn around certain vanilla blocks

Started by modbroz on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Having blocks spawn around certain vanilla blocks

I’m trying to make a mod in MCreator where, every tick, blocks spawn around certain blocks in the world. I want it to spawn blocks on all four horizontal sides only, without affecting the top or bottom, and I want it to only replace air so existing blocks aren’t overwritten.

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any help is appreciated!
Sat, 04/04/2026 - 01:48

Any help is appreciated!

This is not possible to do…
Sat, 04/04/2026 - 08:06

This is not possible to do in an efficient manner likely, imagine the lag of all blocks of type just spawning around that block every tick, it would be performance killer

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well is there any way to do…
Sat, 04/04/2026 - 12:33

Well is there any way to do this without it happening every tick I'm trying to make a mod that adds grass slabs to the sides of grass blocks. The slabs don't have to place around the grass block all the time I just want it to load them when the player joins and keep generating them throughout the world or in world generation

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Klemen please please help I…
Sat, 04/04/2026 - 14:48

Klemen please please help I really need this

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
someone help me pleaseee
Sat, 04/04/2026 - 16:33

someone help me pleaseee

The only way to do this…
Sat, 04/04/2026 - 17:11

The only way to do this effectively is by altering world generation, likely with surface rules.

Not something MCreator can do via UI, but you can try to code it, but this is not something I can assist with as I did not create similar surface rules before in code