Give us a Java/Kotlin ScriptAPI Language
-
I didnt find anything about thison issues/suggestions and i think this would be amazing.
Instead of using JS/Nashorn as a Script-Language, just let us use Java/Kotlin.
-It would have better Performance than JS (and SenkJu also said in a onEvent for TextRendering that he doesnt want to include it bcs Nashorn sucks at Performance)
-it (probably) isnt that hard to make
-in the ScriptAPI you usually already use the Java Classes, but with a js-wrapper around it
(i suck at js, and probably some other people do too)But i also could see why you wouldnt want to use it (for example people who obfuscate).
Still would be very nice to be able to make 'Scripts' in Java/Kotlin, because these are languages you can actually use. -
@algedoesntgiveheadlikewolf just make a mod and put it in the folder -_-
-
@algedoesntgiveheadlikewolf said in Give us a Java/Kotlin ScriptAPI Language:
(i suck at js, and probably some other people do too)
JS is way easier than Java but it'd be good to support Java as you could literally use normal events like onStep post (which isn't onStepConfirm at all since it's called even when you don't step) and a normal onUpdate event (allowing you to sprint in any direaction and changing the onGround state would change the packet's onGround state
-
Js is easier to use but I still prefer Java
-
@yorik100 said in Give us a Java/Kotlin ScriptAPI Language:
JS is way easier than Java but it'd be good to support Java as you could literally use normal events like onStep post (which isn't onStepConfirm at all since it's called even when you don't step) and a normal onUpdate event (allowing you to sprint in any direaction and changing the onGround state would change the packet's onGround state
i still suck at js but this
-
@algedoesntgiveheadlikewolf i also think, that Java/Kotlin scriptapi will be better
-
kotlin sucks
-
There already is an issue for Kotlin script support. The problem is that we had to do some rather low level mofications to Nashorn for it to work with Minecraft's obfuscation. We would have to do the same thing for Kotlin support as well. We might do it in the future but it doesn't have very high priority for us at the moment.
https://github.com/CCBlueX/Old-LiquidBounce-Issues/issues/2821
-
well, js scriptapi is enough, you should make more epic bypasses instead
#makeliquidbouncegreatagain