screret / screenjs Goto Github PK
View Code? Open in Web Editor NEWA kubeJS addon for creating ContainerMenus
Home Page: https://www.curseforge.com/minecraft/mc-mods/screenjs
License: Other
A kubeJS addon for creating ContainerMenus
Home Page: https://www.curseforge.com/minecraft/mc-mods/screenjs
License: Other
Working on a modpack, added ScreenJS & encountered a crash from ScreenJS targeting a KubeJS class that doesn't exist. Crash report below.
crash-2023-08-22_15.41.20-fml.txt
I'm trying to create a simple GUI using kubejs in a modpack currently under development.
But the modpack I'm developing is 1.18.2!
1.18.2 is still supported by kubejs, and many mods still stay at 1.18.2.
If possible, backporting to 1.18.2 would be greatly appreciated.
MC doesn't fully launch with the following installed:
Error shown on screen:
Failed to create mod instance. ModID: screenjs, class screret.screenjs.ScreenJS
I'm guessing ScreenJS needs to be updated to match a change in KubeJS 6.1 (the failure stems from a ClassNotFoundException: dev.latvian.mods.kubejs.BuilderBase
error)?
[16Aug2023 12:55:34.303] [main/WARN] [mixin/]: Reference map 'screenjs.refmap.json' for screenjs.mixins.json could not be read. If this is a development environment you can ignore this message
...
[16Aug2023 12:55:41.809] [modloading-worker-0/INFO] [KubeJS/]: Looking for KubeJS plugins...
[16Aug2023 12:55:41.815] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source kubejs
[16Aug2023 12:55:41.847] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source kubeutils
[16Aug2023 12:55:41.851] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source kubejsoffline
[16Aug2023 12:55:41.852] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source bejs
[16Aug2023 12:55:41.853] [modloading-worker-0/ERROR] [KubeJS/]: Failed to load plugin screret.bejs.BEJSPlugin from source bejs: java.lang.NoClassDefFoundError: dev/latvian/mods/kubejs/RegistryObjectBuilderTypes
[16Aug2023 12:55:41.853] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source exnihilosequentia
[16Aug2023 12:55:41.854] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source kubejs_mekanism
...
[16Aug2023 12:55:41.867] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source lootjs
[16Aug2023 12:55:41.868] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source probejs
[16Aug2023 12:55:41.868] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source kubejsbotanypots
[16Aug2023 12:55:41.869] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source summoningrituals
[16Aug2023 12:55:41.870] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source ponderjs
[16Aug2023 12:55:41.870] [modloading-worker-0/INFO] [KubeJS/]: Found plugin source screenjs
[16Aug2023 12:55:41.871] [modloading-worker-0/ERROR] [KubeJS/]: Failed to load plugin screret.screenjs.ScreenJSPlugin from source screenjs: java.lang.NoClassDefFoundError: dev/latvian/mods/kubejs/RegistryObjectBuilderTypes
...
[16Aug2023 12:55:42.054] [modloading-worker-0/INFO] [KubeJS/]: Loaded common.properties
[16Aug2023 12:55:42.064] [modloading-worker-0/INFO] [Rhino Script Remapper/]: Loading Rhino Minecraft remapper...
[16Aug2023 12:55:42.065] [modloading-worker-0/INFO] [dev.latvian.mods.rhino.mod.util.RhinoProperties/]: Rhino properties loaded.
[16Aug2023 12:55:42.067] [modloading-worker-0/INFO] [Rhino Script Remapper/]: Loading mappings for 1.19.2
[16Aug2023 12:55:42.112] [modloading-worker-0/WARN] [net.blay09.mods.balm.forge.config.ForgeBalmConfig/]: Config field without expected type, will not validate list content (compressBlacklist in net.blay09.mods.craftingtweaks.config.CraftingTweaksConfigData$Common)
[16Aug2023 12:55:42.112] [modloading-worker-0/WARN] [net.blay09.mods.balm.forge.config.ForgeBalmConfig/]: Config field without expected type, will not validate list content (disabledAddons in net.blay09.mods.craftingtweaks.config.CraftingTweaksConfigData$Client)
[16Aug2023 12:55:42.116] [modloading-worker-0/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: screenjs, class screret.screenjs.ScreenJS
java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:68) ~[javafmllanguage-1.19.2-43.2.8.jar%23522!/:?]
at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:121) ~[fmlcore-1.19.2-43.2.8.jar%23521!/:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) [?:?]
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
Caused by: java.lang.NoClassDefFoundError: [Ldev/latvian/mods/kubejs/BuilderBase;
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
at java.lang.Class.getDeclaredMethod(Class.java:2673) ~[?:?]
at net.minecraftforge.eventbus.EventBus.getDeclMethod(EventBus.java:91) ~[eventbus-6.0.3.jar%2379!/:?]
at net.minecraftforge.eventbus.EventBus.lambda$registerObject$4(EventBus.java:103) ~[eventbus-6.0.3.jar%2379!/:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1728) ~[?:?]
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) ~[?:?]
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) ~[?:?]
at net.minecraftforge.eventbus.EventBus.lambda$registerObject$7(EventBus.java:105) ~[eventbus-6.0.3.jar%2379!/:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at net.minecraftforge.eventbus.EventBus.registerObject(EventBus.java:102) ~[eventbus-6.0.3.jar%2379!/:?]
at net.minecraftforge.eventbus.EventBus.register(EventBus.java:128) ~[eventbus-6.0.3.jar%2379!/:?]
at screret.screenjs.ScreenJS.<init>(ScreenJS.java:63) ~[screenJS-1.19.2-1.1.6.jar%23483!/:1.19.2-1.1.6]
... 14 more
Caused by: java.lang.ClassNotFoundException: dev.latvian.mods.kubejs.BuilderBase
at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:141) ~[securejarhandler-2.1.4.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
at java.lang.Class.getDeclaredMethod(Class.java:2673) ~[?:?]
at net.minecraftforge.eventbus.EventBus.getDeclMethod(EventBus.java:91) ~[eventbus-6.0.3.jar%2379!/:?]
at net.minecraftforge.eventbus.EventBus.lambda$registerObject$4(EventBus.java:103) ~[eventbus-6.0.3.jar%2379!/:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1728) ~[?:?]
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) ~[?:?]
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) ~[?:?]
at net.minecraftforge.eventbus.EventBus.lambda$registerObject$7(EventBus.java:105) ~[eventbus-6.0.3.jar%2379!/:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at net.minecraftforge.eventbus.EventBus.registerObject(EventBus.java:102) ~[eventbus-6.0.3.jar%2379!/:?]
at net.minecraftforge.eventbus.EventBus.register(EventBus.java:128) ~[eventbus-6.0.3.jar%2379!/:?]
at screret.screenjs.ScreenJS.<init>(ScreenJS.java:63) ~[screenJS-1.19.2-1.1.6.jar%23483!/:1.19.2-1.1.6]
... 14 more
[16Aug2023 12:55:42.132] [modloading-worker-0/INFO] [Rhino Script Remapper/]: Done in 0.067 s
Hi, can you please make a fabric version 1.19.2 for it? I love this mod, thank you.
When I load the game using version 1.1.5 of this mod, I receive a crash with the following message:
java.lang.RuntimeException: Illegal private member with @SubscribeEvent annotation
This doesn't happen with older versions of the mod. I have attached latest.log and the crash report.
latest.log
crash-2023-04-10_13.10.16-fml.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.