XHawk87 / DeathChests

A function pack for Minecraft that stores items in player death into a double chest at their feet
GNU General Public License v3.0
0 stars 0 forks source link

Alternative Implementation #12

Open cysabi opened 3 years ago

cysabi commented 3 years ago

There are many other death chest datapacks that I've found online (most of them don't work, and this one is definitely the most stable and well built, so props!) That are implemented in a different way. I believe the alternatives are worth looking in to.

Rather than funnel entities through a hopper into a chest, the keepInventory rule is kept on. The items are removed from the player's inventory and placed in chest. The player's experience levels are kept, there are no entities, and there is no need for hoppers.

If this alternative was implement, it would be easy enough to toggle.

I'm not sure if this alternative option is possible, but it would act in a much cleaner way to spawning hoppers.