Mojira Archive
MC-258555

/place sometimes generates buried treasure too low until world reload

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

  1. Create a default Superflat world
  2. Create a pillar of stone
    /fill 9 -60 9 9 -57 9 stone
  3. 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

  4. Destroy the stone, sand and chest
  5. Create a taller pillar of stone at the location of the previous pillar:
    /fill 9 -60 9 9 -52 9 stone
  6. 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

  7. Exit and reopen the world
  8. 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.

Unresolved

Jonasz

2022-12-16, 08:32 PM

2024-01-19, 02:14 AM

0

3

Confirmed

(Unassigned)

1.19.3, 1.20.4, 24w03b

-