"function": "minecraft:set_components",
"components": { "minecraft:max_stack_size": 10
}
It doesn't work. And if there were any other components, they are completely reset and the item becomes without any components at all.
I can't reproduce this