The Bug
In the Bedrock Edition preview, you can interact with Allays when he is in the boat or minecarts and give him blocks and items and he returns them, but not in Java.
(I have attached the video below)
In Bedrock fixed this as a bug in the latest changelog, but I think it's parity for in Java.
Steps to Reproduce:
1. Put Allay in a boat or minecarts
2. Give him a block in his hands
3. Drop the blocks when he's in the boat or minecarts
P.S: I recently discovered that Allay doesn't interact with the player while in the minecart. Since this was fixed on the bedrock with one bug in the interaction of the Allay in the boat and minecart, I decided to update this ticket. And I also attached a video from Java version 1.19.2 and Bedrock 1.19.30
(If necessary, I will create a new one)
Linked issues
Attachments
Comments


Can confirm 1.19.1 Pre-release 5

You can update your own reports' affected versions yourself, no need to comment.

Ok 😉
I can confirm this behavior; this also affects 1.19. I personally feel as if the core problem here is MC-249806, but since it's marked as related and not a duplicate, it's clear that these issues may differ slightly.
[media]Can confirm in 1.19.1.

I think relates to MCPE-156183

I confirm it has been fixed in 22w42a

Confirmed fixed in 22w42a.
At the least, relates to MC-249806.