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

Allays that are holding items ignore note blocks when loaded from structure blocks


    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w42a
    • 1.19.2, 1.19.3 Release Candidate 3, 1.19.3, 23w04a
    • Confirmed
    • Mob behaviour, Structures
    • Normal
    • Platform

      The Bug:

      Allays that are holding items ignore note blocks when loaded from structure blocks.

      Saving a structure containing an allay (using a structure block with "Include Entities" on) and loading it in another world causes the allay in the imported structure to ignore note blocks in the position that the structure had a note block. (Newly spawned allays work as expected) Haven't tested whether reloading the world or using a note block in a different position works.

      Steps to Reproduce:

      1. Download the provided structure block .nbt file that contains an empty structure that has an allay holding a gold block within it. mc-256693.nbt
      2. Create a world and place the .nbt file into the generated\minecraft\structures folder.
      3. Place down a structure block with the appropriate data already inputted into it by using the command provided below.
        /setblock ~1 ~ ~1 minecraft:structure_block{ignoreEntities:0b,mode:"LOAD",name:"minecraft:mc-256693",posX:1,posY:0,posZ:1,powered:0b,showboundingbox:1b,sizeX:5,sizeY:5,sizeZ:5}
      4. Open the structure block and click the "LOAD" button to load the structure.
      5. Obtain a note block and some gold blocks.
      6. Place down the note block and right-click it while the allay is nearby in an attempt to make the allay like the note block.
      7. Throw some gold blocks on the ground and wait for the allay to collect them.
      8. Take note of how the allay ignores the note block and decides to drop the held items at your location instead.

      Observed Behavior:

      Allays ignore note blocks.

      Expected Behavior:

      Allays would not ignore note blocks.

        1. better_moss_farm.nbt
          8 kB
        2. MC-256693.mp4
          7.34 MB
        3. mc-256693.nbt
          1 kB
        4. MC-256693 - 1.19.2.mp4
          6.00 MB
        5. MC-256693 - 22w42a (Fixed).mp4
          4.46 MB

            Unassigned Unassigned
            JuniorJedi256 Math Nerd
            8 Vote for this issue
            4 Start watching this issue