TickCentral

TickCentral

3M Downloads

[1.12.2] TickCentral + Logistic Pipes Issues

Worive opened this issue ยท 3 comments

commented

Issue

Hi, I've found that when TickCentral is present with LogisticPipes it will cause for other mods a NoClassDefFoundError crashing the game.

The game work perfectly if you just have LogisticPipes and TickCentral. Or any other combination of 2 of these 3 mods.

In this case i used thermal. But it also occur with SimplyJetpacks, bewitchment and some others.

I think that's also the reason why #7 have a problem

I hope you may help to found the reason behind that ๐Ÿ˜ƒ

Note

I'm using the fixed TickCentral version from #13

Files:

commented

This code in LogisticsPipes expects List.add to append the LogisticsPipesClassInjector to the end of the transformer list (as specified by the documentation of List.add) and then moves all others transformers based on this assumption.

With TickCentral installed this call to List.add now sorts the transformer list and breaks this assumption.

Instead of moving the LogisticsPipesClassInjector to the front of the list, LogisticsPipes now ends up removing Forge's ModAPITransformer, breaking @Optional annotations for all mods, and adding a second reference to the LogisticsPipesClassInjector.

One possible solution for this would be delaying the sorting until LaunchClassLoader.runTransformers (or something else) wants to iterate through the list. There's probably a better way to do this though.

commented

May it be possible to get a compiled version of TickCentral including this change ? So it's possible to use with modpacks including logistic pipes @saibotu

commented

Here you go: TickCentral-3.1-unsigned.jar.zip (don't forget to unzip) compiled from saibotu@a566081