Minecraft – How to execute a command over a distance of more than 100 blocks

minecraft-bedrock-editionminecraft-commands

I'm using MC Bedrock (On Windows 10), and I want to execute a command at 5000 ~ 5000 using a command block placed at 0 ~ 0. I know this is not possible (at least not without using some other method than mine) because command blocks have a limit of 100 blocks' distance in which their command is able to run. I have attempted to circumvent this with a very long loop of /execute commands, like this: /execute @s 100 ~ 100 execute @s 200 ~ 200 execute @s 300 ~ 300 and so on. This has not worked. How can I execute a command over a distance of more than 100 blocks?

Best Answer

Use things such as dx, dy, and dz they will always go the distance you set them to based in the diameter created by distance x to distance y and distance z, and distance y to distance x and distance z, and distance z to distance x and distance y, the distance being distance from the command block, so often times, the range will be bigger than you want it, which is where math comes into play, which there is a question somewhere on this site with a answer explaining it if you want more details, or just ask me.