Closed chochem closed 5 months ago
Shoe's on the other foot innit now you see the world through our :eyes:
GT6 detection is actually very simple, it's only a matter of specifying
Loader.isLoaded('gregtech') && !Loader.isLoaded("gregapi")
The code you're describing detects GT5u, not GT6.
For clarity's sake, here are the modids declared by each major GT version:
gregtech_addon
gregtech
gregtech
, gregapi_post
, gregapi
Therefore for detecting GregTech 6 exclusively, a check for gregapi
or gregapi_post
would be appropriate.
(In fact, ArchaicFix already checks for gregapi
in one place.)
Well, good thing I never wrote that commit for gt6 checks on magic bees then, 'cause that's what I was gonna implement :smile: :+1:
Should be fixed
Various GT6 mixins cause errors when other GT is found instead (for example in the custom gt5u in GTNH) archaicfixerrors.txt (using archaicfix-0.7.1 in GTNH-nightly353)
I assume there is only a check for 'gregtech' being present which is rather unspecific. If detection of gt6 specifically is not easy to do, a config to turn off gt6 mixins (one-by-one or all) would also work as a solution.