Mojira Archive
MC-259355

Game crashes because /place sometimes does not check whether position is loaded and out of world

The bug

/place command sometimes doesn't check whether the position is reasonable, thus sometimes crashes game.

How to reproduce:

  1. create a new default world (not a super-flat world)
  2. then
  • run /execute positioned 1000000 1000000 1000000 run place feature minecraft:acacia
    • returns That position is not loaded
  • run /execute positioned 1000000 1000000 1000000 run place template minecraft:ancient_city/city_center/walls/left
    • returns That position is not loaded
  • run /execute positioned 40000000 0 0 run place structure minecraft:mansion (must be mansion and out of world)
    • Throws an unhandled error
  • run /execute positioned 1000000 1000000 1000000 run place jigsaw minecraft:ancient_city/walls minecraft:connect_wall 1
    • Return successful message
  • run /execute positioned 40000000 0 0 run place jigsaw minecraft:ancient_city/walls minecraft:connect_wall 1

See also

See also Commands/place (Java Edition) - Minecraft Wiki

Fixed

Dl

[Mojang] etanaratsastaja

2023-01-24, 03:45 PM

2024-08-03, 05:04 PM

2024-04-12, 12:10 PM

9

7

Confirmed

Important

Platform

Commands, Crash

1.19.3 - 1.201.19.3, 23w03a, 23w04a, 23w05a, 1.19.4 Pre-release 1, 1.19.4 Release Candidate 1, 1.19.4, 23w17a, 1.20 Release Candidate 1, 1.20

1.20.5 Pre-Release 2