[Bug] Some form of mod compatibility issue? "Charcoal" (coal) block and the EU content underflow?
MommaDragon opened this issue ยท 5 comments
"Compressed" creates a burn time for a block item that is... so high, the Energy content is in the negative. Probably an overflow.
At least the description is unaffected. This may or may not just end up in the "wontfix" category, but. It's still good to say it's a problem.
(also, yeah, Coal blocks are considered Charcoal for compression, but that's not exactly related - recipe works fine.)
nevermind, its an MI multiplication issue, reported here AztechMC/Modern-Industrialization#528
(also compressed blocks last WAY longer than they should)
it doesnt help that compressed adds a multiplier based on compression level (9*compression level above 1) so instead of a burn time of 104,976,000 (A) ticks (or 160,000,000 (B) if we assume every 9 blocks is worth 10 block cooktime, following vanilla's math), you get 419,904,000 (C) ... (instead of 524,880 (A) items or 800,000 (B), you can cook 2,099,520 (C) items).
Vanilla furnace will actually truncate the value to a short, leading to a negative cook time which is shorter than the max cooktime of 32767 (which is why you get the warnings in the console).
Overall the compressed mod is kinda bad...
luckily MI happens to not run into actual cooktime issues because they have another modifier in their boiler code for the type of boiler on the serverside that is a long
type, meaning all values in the server multiplication will convert to long
s and the math doesnt break the long
type maximum 9,223,372,036,854,775,807