The Bug:
Allays ignore the NBT data of their held items when collecting items.
Steps to Reproduce:
Summon an allay and give it an arrow of night vision.
Throw an arrow of slow falling on the ground near the allay.
Observe to see if the allay collects the arrow of slow falling and gives it to you.
Take note as to whether or not allays ignore the NBT data of their held items when collecting items.
Observed Behavior:
Allays ignore the NBT data of their held items when collecting items.
Expected Behavior:
Allays would not ignore the NBT data of their held items when collecting items. For example, if you give an allay an arrow of night vision, it should only collect nearby arrows of night vision and not any other tipped arrows with varying NBT data.
Attachments
Comments 2
I think this is partially intentional. I'm pretty sure things like different enchants being ignored is intentional, but not things like different potions. If so, this could be resolved by adding an item tag like allay_dont_ignore_nbt
that could be added to things like potions and etc, or maybe make specific NBT tags be ignored by allay, whilst not ignoring others. For example, allays ignoring Enchantments
tag but not Potion
tag.
It can be confirmed that also affects the potion and tipped arrow.