private InventorySnapshot(Int2ObjectMap<ItemStackSnapshot> itemStackSnapshots) { this.itemStackSnapshots = Int2ObjectMaps.unmodifiable(itemStackSnapshots); }