mojira.dev
MC-274875

/place sometimes still does not check whether position is loaded or out of world

The bug

/place structure command sometimes still doesn't check whether the position is reasonable.
MC-259355 is not fully fixed. Only /place jigsaw was fixed, while /place structure is still not fixed.

How to reproduce:

  1. create a new default world

  2. then

  • run /execute positioned 40000000 0 0 run place structure minecraft:ancient_city
    ✔ Fails and returns "That location is not loaded"

  • run /execute positioned 40000000 0 0 run place structure minecraft:mansion
    ❌ Throws an unhandled error: Index -4194008 out of bounds for length 315

  • run /execute positioned 40000000 0 0 run place structure minecraft:monument
    ❌ Tries to place and returns "Failed to place structure"

Expected behavior:

All of the three commands should fail and return "That location is not loaded". No command should throw unhandled error.

Linked issues

Attachments

Comments 1

Former user

(Unassigned)

Community Consensus

Platform

Normal

Commands, Structures

1.21, 1.21.1, 24w36a, 1.21.4

Retrieved