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

Structures ignore some entity data if generated with worldgen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.2, 1.19, 1.19.4, 1.20.2, 23w43b
    • None
    • Confirmed
    • Structures, World generation
    • Important
    • Platform

      If you create a structure using structure blocks, entities can be saved with the structure. If you load the same structure, the entities will have the same entity data as expected.

      If however you make the structure generate in the world with a datapack, some entity data is ignored.

      I can confirm this happening with:

      • "Size" for Magma cubes
      • "HandItems" for Zombified Piglins, Skeletons, Wither Skeletons, Strays and Vindicators (NOTE: "ArmorItems" is saved correctly)
      • "Passengers" for Minecarts

      Does not affect "HandItems" for Piglins, interestingly.

        1. bugpack.zip
          6 kB
        2. naturally_generated.png
          naturally_generated.png
          897 kB
        3. structure_block.png
          structure_block.png
          951 kB

            Unassigned Unassigned
            Salasana Salasana
            Votes:
            10 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: