Hello, I've pushed a fix for this by adding a max value if result goes beyond 65535.
Some questions for you guys :
I found that mixed ore chunks refines from deep core ore which should be not be the case. This was a bug in my mod so I fixed it to only have vanilla Nauvis ores in Advanced Deep Core as it should (no modded off world ores from nauvis !).
While testing I couldn't generate a deep core "mixed ore" patch by mining the Moshine mixed ore. Is it explicitly excluded ? I probably need to debug a bit more for this.
As for the crash itself, it was caused by Mixed ore refining that somehow generated a huge amount of neodyme, with the cap fix it's still 40 000, is that right ? :D
I found the formula definition for neodyme :
amount = 1020,
probability = 0.003 /100,
And deep core mining generic ore definition is 80 x amount so indeed it ended above 65k :D
Never found a case like this not sure how to better handle it. You won't get ofter this ore but when you do the machine will be stuck on a mountain stack of this item for a longtime. I guess I can just cap it to if above 100 keep the original ore amount or something to be more reasonable but then again the probability is ultra low. Well I guess that's the design of the mod for this resource.
We can also add explicitly a deep core mining definition for this ressource to define the amount to a low value (like 1 or 2), this can be done either in Deep Core Mining or Moshine.
I also need to find how to automatically generate locale for automatic mod support, it's kind of ugly to have the technical entity names :D
Let me know what you think !