Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7000

Generation and /locate issues when using custom structure seeds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • This server is running CraftBukkit version 3477-Spigot-ffceeae-a459f4d (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)
    • No plugins
    • Yes

      Setting custom structure seeds (seed-village etc) in spigot.yml do not seem to work correctly since 1.18.2.

       

      Structures generated with custom seeds appear to be identical to structures generated with the default seeds and single-player. In addition the /locate command fails to recognise structures, at least when near spawn, and will suggest structures >10 thousand blocks away even if you are right next to the structure you are searching for.

       

      Worth noting that /locate works correctly when the seeds are unchanged. See attached images for examples of default and custom seeds in both 1.18.2 and an older 1.18.1 spigot.

       

      Steps to reproduce

      1. Create a world with the seed 123456789 (set level-seed in server.properties). Ensure your structure seeds are at the default values
      2. Join the server and /tp -270 90 160. You should be at a village.
      3. Try /locate #village and observe how it correctly finds the village you are in
      4. Take a screenshot of the village for later comparison
      5. Stop the server and delete the world
      6. Change seed-village in spigot.yml to a random value
      7. Start the server, join and /tp -270 90 160 again
      8. Compare the new village to the previous one. They will be identical despite the changed seed.
      9. Try /locate #village again and observe how it takes a significant time to complete and suggests a village many thousands of blocks away

            Unassigned Unassigned
            jlyne Jim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: