Shadows-of-Fire / Toast-Control

Because Mojang can't into popups.
MIT License
14 stars 6 forks source link

[1.14.4] TC incompatible with Forge .45+'s new tick system #13

Closed Gamertech closed 5 years ago

Gamertech commented 5 years ago

Forge .45 changed how TickEvents worked, now a few mods are incompatible with it and fail to load, including Toast Control.

https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.14.4-28.0.45/forge-1.14.4-28.0.45-changelog.txt

[07Aug2019 17:12:53.508] [modloading-worker-0/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: toastcontrol, class shadows.toaster.ToastLoader
java.lang.NoClassDefFoundError: net/minecraftforge/fml/common/gameevent/TickEvent$ClientTickEvent
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_51]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_51]
    at java.lang.Class.privateGetPublicMethods(Class.java:2902) ~[?:1.8.0_51]
    at java.lang.Class.getMethods(Class.java:1615) ~[?:1.8.0_51]
    at net.minecraftforge.eventbus.EventBus.registerObject(EventBus.java:86) ~[eventbus-0.10.6-service.jar:?]
    at net.minecraftforge.eventbus.EventBus.register(EventBus.java:114) ~[eventbus-0.10.6-service.jar:?]
    at shadows.toaster.ToastLoader.<init>(ToastLoader.java:23) ~[?:2.1.1]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_51]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_51]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_51]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_51]
    at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_51]
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:131) [?:28.0]
    at net.minecraftforge.fml.javafmlmod.FMLModContainer$$Lambda$1978/987060415.accept(Unknown Source) [?:28.0]
    at java.util.function.Consumer.lambda$andThen$14(Consumer.java:65) [?:1.8.0_51]
    at java.util.function.Consumer$$Lambda$1977/1410897862.accept(Unknown Source) [?:1.8.0_51]
    at java.util.function.Consumer.lambda$andThen$14(Consumer.java:65) [?:1.8.0_51]
    at java.util.function.Consumer$$Lambda$1977/1410897862.accept(Unknown Source) [?:1.8.0_51]
    at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) [?:?]
    at net.minecraftforge.fml.ModList.lambda$null$10(ModList.java:133) [?:?]
    at net.minecraftforge.fml.ModList$$Lambda$2052/1690953997.accept(Unknown Source) [?:?]
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:1.8.0_51]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) [?:1.8.0_51]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512) [?:1.8.0_51]
    at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) [?:1.8.0_51]
    at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) [?:1.8.0_51]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_51]
Caused by: java.lang.ClassNotFoundException: net.minecraftforge.fml.common.gameevent.TickEvent$ClientTickEvent
    at java.lang.ClassLoader.findClass(ClassLoader.java:530) ~[?:1.8.0_51]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_51]
    at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:102) ~[modlauncher-3.2.0.jar:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51]
    ... 30 more
Shadows-of-Fire commented 5 years ago

resolved in latest ver

Gamertech commented 5 years ago

Cheers