xJon / Tekkit-2

The official sequel to Tekkit (2012)
https://technicpack.net/modpack/tekkit-2
15 stars 1 forks source link

AE2 doesn't work with the Tekkit2Content Mod #230

Closed FrozenGhostx closed 1 year ago

FrozenGhostx commented 1 year ago

Basic details

Describe the issue

Dedicated Server won't start if AE2 is implemented

A clear description of what the issue is.

BlockFluxCable overrides a minecraft method public void addInformation(ItemStack stack, @Nullable World world, List tooltip, ITooltipFlag flags) The method uses interface ITooltipFlag which is a client-side only class and is NOT available on dedicated servers, thus it causes crashing. The solution is: inspect minecraft source code and see that addInformation has @SideOnly(Side.CLIENT) annotation, which MUST be included in all overrides of said method.

xJon commented 1 year ago

Have you considered removing the Tekkit mod? It adds Jaffa Cakes and RF cables, but if you're modifying the pack you could add alternative RF cables as well.

FrozenGhostx commented 1 year ago

I did, but that's just a workaround and no final solution. This problem only occurs on server-side, on client-side the combination of this mods works.

xJon commented 1 year ago

Currently I don't have another solution, and the flux cables are using Cable Flux as a library mod - it is open source if you want to have a look at it. As AE2 is not included in the modpack by default I don't see it as a bug, but I'm sorry about the inconvenience.

xJon commented 1 year ago

As I'm unable to resolve it myself, and AE2 is not included in the modpack by default, I'll close this - but again I'm sorry about the inconvenience. If you are able to patch it yourself I'll look into including this by default in the pack.