#duplication of items (Fabric, 1.21.1)

1 messages · Page 1 of 1 (latest)

sullen osprey
#

when using "ChestedCompanions" and "Eternal Pets", there is a duplication of items. When companions are killed, items drop out of their inventory. And when they respawn, they reappear with all these items. Is there a way to disable items dropping from companions when they die?
minecraft version 1.21.1
https://github.com/Khajiitos/ChestedCompanions
I have already written to the creator of "ChestedCompanions" about this, and he advised me to notify you.

Here is his full response:
I feel like this is an issue that should be fixed within the Eternal Pets datapack. The pet's data seems to be saved right before the pet dies, and before its equipment drops. If I remember correctly, Chested Companions removes the inventory data from the pet right as the chest with all the items drops.

This not only causes an issue with the chest from Chested Companions, but also the new Wolf Armor in vanilla.
If your tamed wolf dies while wearing wolf armor without destroying it (e.g. by drowning/instant damage potions), the armor will drop, and the wolf will respawn with the armor still on it, duplicating it.

While I could add a config option to prevent dropping items from pets (essentially voiding them), this just seems like a workaround for something that is probably meant to be fixed in the datapack. It's probably a good idea to notify the creators of Eternal Pets about this.

GitHub

Equip chests on your fluffy friends! Contribute to Khajiitos/ChestedCompanions development by creating an account on GitHub.

slim ferry
#

(Also this is not an issue on their side.)

#

Also, I didn't know that they could die without destroying the armor first.

#

I'll have to see if maybe I can find some sort of work around.

#

OO, I know I'll have remove the armor from their data.

#

Very silly that I didn't think of that before.

#

Thank you for reporting.

sullen osprey
slim ferry