Cyclic icon indicating copy to clipboard operation
Cyclic copied to clipboard

[1.18.2] Storage Bag

Open INooBTooMuch opened this issue 3 years ago • 2 comments

Minecraft Version: 1.18.2

Forge Version: 40.1.80

Mod Version: 1.7.7

Single Player or Server: Single

Describe problem (what you were doing; what happened; what should have happened):

The Storage Bag if set to Pick Up Mode : Filter and Hit Deposit Mode : Merge/Dump will also clear the "filtered" items. (I don't know whether this is a bug or a suggestion but seems to be similar to a dank storage so it would be useful to not clear the "filters")

INooBTooMuch avatar Sep 12 '22 16:09 INooBTooMuch

So the filter mode basically means, when you pick up an item like off the ground, if pickup filter is on then it will go in the bag if it matches any existing item in the bag.

So in this video i had dirt and logs. so it was putting the dirt i threw back in. But if my bag has only dirt, the logs would go in my inventory. so theres no preset or hardcoded filter its dynamic based on whats inside.

But i see what you mean, yeah. when you have these filters set up, then deposit all your items and the bag is empty so the filters are 'lost' . so the bag kind of forgets you used to filter it like this. Ill think about how this item could be upgraded, or perhaps a version 2.0 of the bag with a different way of saving a filter 🤔

Lothrazar avatar Sep 14 '22 22:09 Lothrazar

So the filter mode basically means, when you pick up an item like off the ground, if pickup filter is on then it will go in the bag if it matches any existing item in the bag.

Ye I get how it works, now as of how to implement it so that they don't deposit the filter as well. It could be a simple filtering option you put an item in, the tag of the item stays filtered and so you don't need the actual item inside . There also is the way to maybe always leave a single block of every occupied slot in case someone wants at least 2 slots to be on dirt for example and so when you dump in a chest 2 dirt in different slots stay inside and in case they picked up lets say 3 stacks of dirt they can first dump and then clear that extra 3rd slot. I'm not sure if what I said is doable in-game since the bag has multiple options on how to work.

INooBTooMuch avatar Sep 15 '22 08:09 INooBTooMuch