-
Bug
-
Resolution: Unresolved
-
None
-
1.19.3, 1.20.4, 24w03b
-
None
-
Confirmed
-
(Unassigned)
The bug
After using "/place structure minecraft:buried_treasure" the height at which the treasure generated is the max height for subsequent uses for this command even after creating suitable conditions higher up until re-entering the world.
How to reproduce
- Create a default Superflat world
- Create a pillar of stone
/fill 9 -60 9 9 -57 9 stone
- Generate a buried treasure chest at the pillar's location:
/place structure buried_treasure 8 -60 8
→ The chest is placed at the top of the pillar
- Destroy the stone, sand and chest
- Create a taller pillar of stone at the location of the previous pillar:
/fill 9 -60 9 9 -52 9 stone
- Generate a buried treasure chest at the pillar's location:
/place structure buried_treasure 8 -60 8
→ The chest is placed midway up the pillar, at the same height as the first chest
- Exit and reopen the world
- Generate another buried treasure chest at the pillar's location:
/place structure buried_treasure 8 -60 8
→ The chest is placed at the top of the pillar
Expected behavior
The buried treasure chest should always be placed at highest possible block, regardless of whether the world is reloaded first.