All of Fabric 6 - AOF6

All of Fabric 6 - AOF6

589k Downloads

[Bug] Some form of mod compatibility issue? "Charcoal" (coal) block and the EU content underflow?

MommaDragon opened this issue ยท 5 comments

commented

"Compressed" creates a burn time for a block item that is... so high, the Energy content is in the negative. Probably an overflow.

image

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.)

commented

what does holding shift show?

commented

nevermind, its an MI multiplication issue, reported here AztechMC/Modern-Industrialization#528

(also compressed blocks last WAY longer than they should)

commented

Must be ugly math.

commented

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 longs and the math doesnt break the long type maximum 9,223,372,036,854,775,807

commented

The charcoal & coal block has been disabled for now.