Closed heisluft closed 11 months ago
Nota Bene: As LaunchHandlerService#configureTransformationClassLoader is deprecated for removal and The Builder is not in fact used anymore by the TransformingClassLoader constructor, there is no way to define resources to the game. This makes Class.getResource(AsStream) break as the TransformingClassLoader cannot locate any.
ITransformationService defines two methods
for the definition of new sources and resources. However, the Function<String, Optional> will never be called.
The reason behind this lies within https://github.com/McModLauncher/modlauncher/blob/01e32e5e545751576b02133d1d3cbff7e3866b9f/src/main/java/cpw/mods/modlauncher/TransformationServicesHandler.java#L59-L60
The list of locators is constructed but never used afterwards, leading to the locator functions never being called.
Call Stack is provided for conveinience:
The issue has been persistent since 2880c33583207895f7d9a1377c46ffd8c51867e2
https://github.com/McModLauncher/modlauncher/commit/2880c33583207895f7d9a1377c46ffd8c51867e2#diff-f22f7451e0853b25a8f4b159c4085dd07ed117be6d3bc461b58a9d71504d4a58