0

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 because command blocks have a limit of 100 blocks in which to execute their command. 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. Does anyone know how I can do this?

  • 1
    Don't use command blocks, use functions instead – MBraedley Nov 17 '19 at 23:16
  • Please can you expand? – DM01131 Nov 18 '19 at 18:35
  • Are you saying that functions execute over the whole world? – DM01131 Nov 18 '19 at 18:37
  • Yep, functions don't care which chucks are loaded, whereas command blocks do. Some caveats though, nothing will happen in a chunk of it's not loaded, but the function will still run. – MBraedley Nov 18 '19 at 18:49
  • Ok thanks, do you know if there's any way to load a chunk remotely? – DM01131 Nov 19 '19 at 18:08
-1

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.

  • That or just give a specific set of coordinates, e.g. execute @s <x y z> execute @s <x y z> execute @s <x y z> there's ways to bend the rules of a command block, it's the most powerful tool in minecraft – How do i.... Nov 26 '19 at 4:44
  • (The only tool to use commands with really, besides chat) but it can store commands till ready to be used – How do i.... Nov 26 '19 at 4:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.