1

I am trying to summon an object and then center it in Minecraft Bedrock Edition. I am trying to just make the coordinate the exact position (eg. 10.0 80.0 10.0 or teleporting to 10 80 10). I have tried to use a function to teleport it by 0.01 until it detects a new block, then teleports to it's centered coordinate, it works sometimes, but it also sometimes doesn't go to the correct cord, or goes on forever teleporting away. I do not have an exact cord that I am teleporting it to so that would not help.

  • So basically you want to use the /summon when you are flying at a random location in creative and then make sure that entity summons aligned to a block? – A.Shetye Aug 17 at 12:09
  • @A.Shetye Yes basically – Micah Suess Aug 18 at 1:57
0

To align any command's coordinates to all 3 axis, use:

/execute align xyz run (your command)

Don't forget to remove the slash from your original command.

| improve this answer | |

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.