If an allay has picked up items and the world is closed and re-opened, the allay loses the items.
This seems to be because allays store their inventories as a local variable rather than as NBT data. Doing /data on an allay with items inside versus that same allay while empty shows no difference in the result of the command.
Still in 22w15a
Can confirm in 22w16b.
Reporter: gibbsly
Assignee: Ulraf
Created: 2022-03-31T17:31:21Z
Updated: 2025-04-30T15:26:23Z
Resolved: 2022-04-29T08:18:08Z
ADO:
Confirmation Status: Confirmed
Area:
Mojang Priority: Very Important
Category: Mob behaviour, Save Data
Labels: allay
Affects Versions: 22w13a, 22w14a, 22w15a, 22w16b
Fix Versions: 22w18a
Retrieved 2025-06-11T15:08:47Z
This seems to be because allays store their inventories as a local variable rather than as NBT data. Doing /data on an allay with items inside versus that same allay while empty shows no difference in the result of the command.