Mojira Archive
MC-256693

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

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.

Fixed

Math Nerd

2022-10-20, 03:11 PM

2023-05-12, 07:00 PM

2023-05-12, 07:00 PM

8

4

Confirmed

Normal

Platform

Mob behaviour, Structures

allay, structure_block

1.19.2, 1.19.3 Release Candidate 3, 1.19.3, 23w04a

22w42a