Updating to 6.0 - replacement for java()? #744
-
I have a modpack that isn't being actively maintained. I'm updating it to 1.20.1 and everything has gone smoothly except the KubeJS scripts, because they were originally written for 5.0 I've got a good handle on the change of event handling, but what's got me stumped is that I have a few scripts that use the java() function to dip into some very mod specific data, for mods that don't have their own KubeJS compat mods. I tried reading through the source code but there's an awful lot of it and I'm not entirely sure where to start. What's the replacement syntax? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
Java.loadClass()
, which is covered in the porting page: https://kubejs.com/wiki/other/major-updates/6.0#java