Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-174824

/setworldspawn is inaccurate when using decimal coordinates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.20.15 Hotfix
    • None
    • Plausible
    • Windows

      As shown in the video, I am attempting to set world spawn to the dead center of coordinate 69 73 -322, which would be 69.50 73 -322 in theory (I might be wrong, but I was unable to find out due to the bug I am demonstrating here). However, using decimal coordinates takes me to entire block off-target coordinates. Note that I have spawn spread set to zero, hence why I spawn on the very corner of the coordinates it takes me to.

      Linked file is video containing footage of this bug in action.

      Steps to Reproduce:

      1. Use /setworldspawn on your preferred set of coordinates.
      2. Before executing, add ".50" to the end to the X and Z coordinates to make it the dead center of a block.
      3. Watch as it takes you to an entirely different block altogether. (And might I add, it doesn't even take you to the dead center of that coordinate either.)
      3-A. You can add different decimals to watch it take you to various different coordinates, none of which will land on the root whole number coordinate.
      3-B. You can also repeat setting the same decimal coordinate and see it take you to the exact same place each time, the bugged coordinates are consistent.

      https://drive.google.com/file/d/1ap64-Ve5iH6biNo5WfhiHpEmuPxa2pRd/view?usp=drive_link

            Mechanical_Eyes1 Mechanical_Eyes1
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: