CodeChicken Lib 1.8.+

CodeChicken Lib 1.8.+

141M Downloads

Crash when rendering microblock with broken texture

Garagoth opened this issue ยท 5 comments

commented

Took me a while but seems pretty easy after all, but I am still not sure where this should be reported.
Required for crash: JEI, forge multipart, lithos core resourcepack.

Due to resourcepack providing bad texture for bookshelf microblock, JEI crashes game as soon as it wants to render bookshelf microblocks (try searching for book).

Crash report

Removing Lithos core or using different resourcepack makes the problem disappear, but still I guess this should not crash the game?

Also reported as issue for JEI.

commented

This is due to some dumb reasons I'm yet to track down, close your jei issue.

commented

If it helps: when I load game without resourcepack and show in JEI those bookshelf microblocks, all looks good.
Then, in same game I load another resourcepack, all is fine. Then I load Lithos Core and it still works, but bookshelf microblocks are all messed up (texture-wise) but does not crash. At least not everytime as I was able to see it once...

G.

commented

Yup, works like a charm. Thanks!

commented

Can i have a copy of the resource pack used to create this crash.
Im assuming the pack changes the model, wanna test my fix.

commented

Can confirm they were changing the model and the current logic didn't take in to account that the bookshelf didnt have any "face quads", Its smarter now and will attempt to grab face quads, if none are found then it will attempt to grab any quad facing in the specific requested face, This will be changing in 1.12 to model squishing. But for now, if models look out of place when a MicroPart, that's not my problem, either that, a crash, or a missing sprite.