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

Buried Treasure fails to generate if there's no suitable stone below its generate position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w09a, 24w10a, 24w12a, 1.20.5 Release Candidate 3, 1.20.5, 1.20.6, 24w19b, 24w20a, 24w21b, 1.21 Pre-Release 1, 1.21 Pre-Release 2, 1.21 Pre-Release 3, 1.21 Release Candidate 1, 1.21, 24w33a, 1.21.1, 24w34a, 24w36a, 24w37a, 24w38a, 24w39a, 24w40a, 1.21.2 Pre-Release 2, 1.21.2 Pre-Release 4, 1.21.2 Pre-Release 5, 1.21.2 Release Candidate 1, 1.21.2, 24w44a, 1.21.3, 24w45a, 24w46a, 1.21.4 Pre-Release 1
    • Confirmed
    • Structures, World generation
    • Normal
    • Platform

      Buried Treasure cannot generate if there's no suitable stone below its generate position in 1.18+.

      Steps to reproduce:

      Seed:892313478237648

      /tp 73 -27 -599  (The water is 90 blocks deep here)

      Then run the command

      /locate structure buried_treasure 

      It will say it's 0 blocks away.

      Then dig down, you won't find any buried treasure.

      Analysis:

      Buried Treasure always generates 1 block higher than the highest suitable stone at its X and Z coordinates.

      Suitable stone includes:

      Stone, Sandstone. Diorite, Granite, Andesite.

      But if there's no such stone at it's X and Z coordinates, it won't generate.

      There's no these type of stone below Y=0, so it can't generate below Y=0.

      (For proof, you can create a default superflat world or a only-deepslate superflat world, then run the command /place structure minecraft:buried_treasure ~ ~ ~ , and you will found it is "placed" but no buried treasure chest generated. Then create a superflat world with only suitable types of stone, run the command /place structure minecraft:buried_treasure ~ ~ ~ , and you will found the buried treasure chest is generated.)

        1. 2024-03-03_17.35.21.png
          3.25 MB
          [Helper] Jiingy
        2. Cannotgeneratewithoutstoneproof.mp4
          5.64 MB
          M33_Galaxy
        3. 屏幕截图(6500).png
          2.48 MB
          M33_Galaxy
        4. 屏幕截图(6553).png
          2.05 MB
          M33_Galaxy
        5. 屏幕截图(6556).png
          540 kB
          M33_Galaxy
        6. 屏幕截图(6557).png
          1.16 MB
          M33_Galaxy

            Unassigned Unassigned
            COMETC2021A1 M33_Galaxy
            Votes:
            11 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              CHK: