I want to modify the existing code so that instead of placing blocks randomly, it only places blocks on top of obsidian blocks within a certain range.
I need a way to detect blocks around the player, but it seems like the MC.player object doesn’t provide a built-in method for this.