-
Bug
-
Resolution: Duplicate
-
None
-
1.14.4
-
None
-
Windows 10
-
Unconfirmed
Whenever a villager (that has something in its inventory) is switched from NoAI:0b to NoAI:1b (or vice versa), everything it has in its inventory doubles.
What I expected to happen was...:
The inventory to stay constant when switching the AI on and off.
What actually happened was...:
The inventory changed when simply switching the AI on and off.
Steps to Reproduce:
- Open a new or existing world
- Spawn or find a villager
- Give it some bread
- Check its inventory using this command:
- /data get entity @e[type=minecraft:villager,limit=1,sort=nearest] Inventory
- Change the villager to no AI using this command:
- /data merge entity @e[type=minecraft:villager,limit=1,sort=nearest] {NoAI:1b}
- Check the inventory again and it should have doubled. You can repeat this back and forth from NoAI:1b to NoAI:0b as many times as you wish, and it will double until the inventory is full.
- duplicates
-
MC-112826 data command duplicates villager and piglin inventories
- Resolved