Additional bars 2.01 crashed at startup while 1.01 works totally fine + another issue
heyjudek opened this issue ยท 8 comments
latest.log
2021-05-06-7.log.gz
In the meantime, I have discovered that if you place a horizontal iron bar of one type (crossed or regular) you can place the other one on top of it, essentially replacing it (I am not referring to bottom/top halves, but exactly the same place).
I'm guessing its an issue with Full Slabs mod, but not 100% sure. I'll do some more testing tomorrow.
Ok, so I'm unable to reproduce the second issue where, as you describe, replacing horizontal iron bars with crossed iron bars and vice versa, so that also is a mod issue.
From the logs that you sent, the mod that causes the crash is 'Third person maps'. I'm assuming that if you remove Additional Bars, the game launches normally?
Edit: I just saw you're using java 16, that might be the cause of the crash. Please try with Java 11 or 15.
Yes, removing additional bars makes the game launch normally. Why would a mod that has nothing to do with slabs (Additional bars) be conflicting with Full Slabs, though?
I'll try removing Third person maps and see how it works. But personally, I am not really fond of the idea of going back to an older Java version, for performance reasons.
In the meantime, may I ask what change you have made from 1.01 to 2.01 that would make the game crash?
Horizontal bars are slab blocks, so that's why its possible that there's conflict between two mods. The reason I think which causes the conflict is because Horizontal Bars are not full slabs, they are each 2 pixels tall.
Code is the same between 1.0.1 and 2.0.1, except the newer version has a built-in resource pack, with code addition on client side (Which just loads that resource pack in the 'Resource packs' menu in game).
Difference in performance between java 15 and java 16 is negligible, since they both have the same increase in performance compared to Java 11. I've suggested J11 because it's LTS and I use it in dev environment.
Sure, I appreciate your efforts. Regarding the 2.01, I really like the fact that wooden bars are now using planks' textures, in the meantime, you seemed to have significantly improved how crossed wooden bars look, which seem to no longer have those single pixel thin edges.
Well, removing Third Person maps fixed the issue. But why this mod created a conflict is beyond me.
Full slabs just enables dynamically placing slab blocks vertically instead of creating a separate vertical equivalent. From what I saw, aren't the horizontal versions of Additional bars' blocks behaving the same way iron bars (a vanilla block) but with a different texture? Then I guess the problem must have come from the horizontal bars probably?
I also have no idea really, but I'll keep experimenting with these mods, probably something weird happening in the background that results in a crash.
Horizontal bars are a 'child' class of vanilla SlabBlock. They share some properties of slab blocks, but have their own shape, size, culling etc, while 'normal' bars and vanilla iron bars are just PaneBlocks with different models and textures.
But yeah, errors can happen with mods that alter vanilla slab blocks code, for regular bars much less likely
I'll leave this open just in case, will close when I discover what truly causes the crash.