Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-258555

/place sometimes generates buried treasure too low until world reload

XMLWordPrintable

    • Icon: Bug 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

      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.

            Unassigned Unassigned
            ozir Jonasz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: