I'm looking into it. Looks nice, I especially appreciate the fact that they made an Eclipse plugin as well. Looks very similar to Groovy.I haven't looked too into it yet, but JetBrains' new Kotlin language would probably be easy to write mods in, as it compiles into the JVM and is completely interoperable with Java.
Well, from what I understand, it doesn't compile directly into bytecode, from what I understand it reads code off of the .kt files and creates different classes based on them in a global kotlin_bin folder. There are different classes for packages, because the language does not strictly require functions to be inside classes. In fact, it hasn't worked when I put the main function inside a class. Compiling this into a jar would be a mess, the user would have to install Kotlin and set some paths etc. Kotlin in general isn't a language that I believe would be useful when Scala and Groovy exist.And I wonder why it would not be compatible with Java code?
First of all, your tests are wrong. Kotlin works with all java APIs, and all java code.Meh. Not really interested. Doesn't really seem compatible according to my testing. From what I've concluded, doesn't really seem compatible with existing Java code. Doesn't look like it'll be easy for the end user to use these mods anyway. The language in general is not really functional (especially the Eclipse plugin), but I guess I have to give them a break since it's extremely new. Perhaps I'll wait for the language to stabilize and then try.
I don't know why you think it doesn't compile into bytecode. It does.Well, from what I understand, it doesn't compile directly into bytecode, from what I understand it reads code off of the .kt files and creates different classes based on them in a global kotlin_bin folder. There are different classes for packages, because the language does not strictly require functions to be inside classes. In fact, it hasn't worked when I put the main function inside a class. Compiling this into a jar would be a mess, the user would have to install Kotlin and set some paths etc. Kotlin in general isn't a language that I believe would be useful when Scala and Groovy exist.
Well afaik the constructor really is protected. You have to subclass Block to use it.
is it ok to credit you in the OP
of my 1 and a half years of modding minecraft how did i not know thisWell afaik the constructor really is protected. You have to subclass Block to use it.