Closed Katorone closed 4 years ago
Thank you for the report. Not obvious why it would happen but will have a look as time allows.
Could it be due to using cardinal components?
@haykam821 Yes, it is because of how CCA handles item stack serialization. The component info is kept out of the stack tag unless specifically serialized or otherwise requested. I'm not sure yet how to make this performant, as it seems I will need to serialize every stack vs just compare tags.
@Pyrofab Any thoughts on how to handle this?
I think the short-term solution here is to blacklist any items that have CCA components. However, there doesn't seem to be a performant way to query that, either. At least not a supported one. Will keep looking.
As a server admin I'd be very happy already with a configurable blacklist. If i can blacklist inmis:* (or even item per item, inmis:frayed_backpack) from going into crates, that'd be great.
Agree a blacklist would be handy in any case.
Fixed in next build via configurable blacklist.
Oh, missed this issue. I would recommend retrieving the ComponentContainer via ComponentProvider, then serializing it to NBT yourself.
When storing an inmis backpack in a facility:crate_item it is emptied of all content. I'm not sure if I'm right reporting this here, or if this is something inmis can fix, or if it even can be fixed in an universal way.
https://www.curseforge.com/minecraft/mc-mods/inmis