mojira.dev
MCPE-233773

/structure load command loads structures at the wrong coordinates in editor mode

The bug

The /structure load command places structures at the wrong location when run inside of an editor mode session. The command is supposed to place the negative-most corner of the structure at the provided coordinates. However, in editor mode, it places the center of the structure at the provided coordinates.

Since command blocks and behavior packs are active and running during editor sessions, this can completely break pack logic. I have had builds broken by this bug. Please note that placing structures with the editor mode interface is not relevant here; this bug is about the command behaving wrongly.

How to reproduce

  1. Download and open the attached project in editor mode

  2. Click the button next to the command block. It loads a structure

  3. Now click “test world” to enter a “live” session

  4. Click the button again

Expected results

Both times, the corner of the structure should be loaded above the command block.

Observed results

The first time, the center of the structure was loaded above the command block. Only in the test session did the command work correctly.

Linked issues

Attachments

Comments 1

tryashtar

(Unassigned)

1536532

Confirmed

Windows

26.0.25 Preview

Retrieved