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

Pool aliases don't redirect start pool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.3 Pre-Release 3
    • 23w42a
    • None
    • Confirmed
    • Custom Worlds, Data Packs, Structures
    • Normal
    • 1130632
    • Expansion B

      Pool aliases redirect the reference to an alias pool to a different pool. This however doesn't work for the start pool.

      how to reproduce:

      I've attached a data pack broken.zip containing pools jacobsjo:pool_a (red concrete pillar) and jacobsjo:pool_b (blue concrete pillar) and a structure jacobsjo:test that uses jacobsjo:pool_a as start pool and

      "pool_aliases": [
          {
              "type": "direct",
              "alias": "jacobsjo:pool_a",
              "target": "jacobsjo:pool_b"
          }
      ]

      The jacobsjo:test structure is generated every 2x2 chunks.

      1. Create a world with the broken.zip datapack.
      2. Red pillars generate in the world. - The reference to jacobsjo:pool_a did not get redirected.

      To verify that the pool aliases work for pools that are not the start pool, I've attached a working.zip datapack that is identical to broken.zip except that is uses a separate start pool that then references the jacobsjo:pool_a pool.

      1. Create a world with the working.zip datapack.
      2. Blue pillars generate in the world. - The reference to jacobsjo:pool_a get correctly redirected to jacobsjo:pool_b.

        1. broken.zip
          5 kB
        2. working.zip
          5 kB

            billy.sjoberg [Mojang] Billy Sjöberg
            CC_fan jacobsjo
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: