Check all blocks in the world

Started by Kitsuneon on Wed, 03/01/2023 - 01:17

Topic category: Help with modding (Java Edition)

Last seen on 03:35, 5. Mar 2023
Joined Nov 2021

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check all blocks in the world
Wed, 03/01/2023 - 01:17

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