Draylar / inmis

I need more inventory space! A Fabric backpack mod.
https://www.curseforge.com/minecraft/mc-mods/inmis
MIT License
33 stars 29 forks source link

make it possible to get lost backpack? #84

Open PhageSpace opened 3 years ago

PhageSpace commented 3 years ago

In antique atlas, if you ever lose the atlas, you can get it back by using the ID of the atlas. Can we have such a feature for inmis? My backpack just randomly disappeared.

milkev commented 3 years ago

since the backpacks store their items in the nbt data of the backpack itself, rather than referencing variables elsewhere, its not possible without completely rewriting the system

TobiPeterG commented 3 years ago

since the backpacks store their items in the nbt data of the backpack itself, rather than referencing variables elsewhere, its not possible without completely rewriting the system

One question here not related to the request (probably dumb): Storing the data in the nbt data might be dangerous, as a user might try to put a backpack in a backpack (e.g. of a different mod), causing the nbt tag to get too big, leading to unloadable worlds. So are there enough safety measures to make sure something like that can't happen? :D

milkev commented 3 years ago

cross-mob-backpack-stacking is a thing, however unless you are really intentionally trying to break things, the item shouldnt ever hold enough information to actually cause an issue. A great example is when i used nomadic books to hold 50+ shulker boxes full of items, some of which were more nomadic books with various things inside of themselves. in realistic use this will never be an issue, its just typically disabled both for balancing and for the edge cases that a player does decide to do something like this.