zedwick / VillagerItemCollector

A Minecraft datapack which allows villagers to pick up items when the gamerule mobGriefing is set to false.
GNU General Public License v3.0
2 stars 2 forks source link

Allay cannot pick up items in Minecraft 1.19 #6

Open zedwick opened 2 years ago

zedwick commented 2 years ago

Whilst not strictly "villagers", the functionality is essentially the same.

Allays have a single slot for matching items. The items only need to match the type they are holding, and can have differing nbt data (different enchantments, names etc.) but must obviously be able to stack with existing items in the slot to be able to be picked up.

Currently they will wait staring at the dropped item, and perhaps never return to the player. Would need to test what happens when they find an item which matches but cannot stack with items in their inventory.