i think the reason for that is to add compatibility with FMPIt is officially supported, yes. Project Red is written with 89% scala.
i think the reason for that is to add compatibility with FMPIt is officially supported, yes. Project Red is written with 89% scala.
Well that's not necessary for that though, but I guess it would make it easier.i think the reason for that is to add compatibility with FMP
Huh, it doesAny at all? Does Groovy access all Java fields by reflection?
Anyway that can be a problem indeed for dynamic languages...but it's okay in Clojure. It will avoid reflection and you can tell the compiler to give a warning when it has to use reflection.
(Obviously it still makes the REPL pretty much useless ^^)
Anyway that certainly stinks...Groovy is pretty much out of the picture
It doesn't appear so. While there is a version of the JVM programmed in Go, I don't think it actually works for Go.What about Google's "Go" language? It also compiles to JVM.
Any at all? Does Groovy access all Java fields by reflection?
Anyway that can be a problem indeed for dynamic languages...but it's okay in Clojure. It will avoid reflection and you can tell the compiler to give a warning when it has to use reflection.
(Obviously it still makes the REPL pretty much useless ^^)
Anyway that certainly stinks...Groovy is pretty much out of the picture
Tried that already.If you are running Forge, then forge automatically modifies all of the minecraft obfuscated classes into the srg names (i.e. func_179540_p). If you manage to rename all your calls to mc code to the srg names and compile that, it should work.
Yeah technically, but ForgeGradle replaces all the references that are done in this way during the build process. That's not possible for reflection, at least not until runtime.Technically, you could say that all jvm languages access all fields/methods by reflections. Since the instruction to access/call a field/method takes a string as parameter and the jvm is the one that looks it up.
Unfortunately not. The indy version didn't work either.If you annotate classes with @CompileStatic, does groovy work? Also try using the "indy" version, which useses java 7 INVOKEDYNAMIC.
Unfortunately not. The indy version didn't work either.
I'm now trying to include both the forgeSrc and srg jars in the build path, and looks like it's kinda helping. Only disadvantage is we have to use obfuscated code (for vanilla stuff).
EDIT: It works but... damn. All Minecraft fields and methods are obfuscated. I don't think it's possible to work with.
Yeah, I know.There's a jar somewhere in your Gradle cache that's fully deobfuscated if you need something to build against. But then you'd have to remap the mod to SRG names before it could be used.