Check all blocks in the world

Started by Kitsuneon on

Topic category: Help with modding (Java Edition)

Last seen on 16:09, 22. Jan 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check all blocks in the world

I would like to make it so that when a boss spawns all the glowstone, redstone lamp, and sea lantern blocks are replaced by other blocks that I made, so that everything is dark. I don't know how I could make a code to "get" all the blocks in the overworld and replace them