Wherein Strikingwolf tries to get people to test something

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

TomeWyrm

New Member
Jul 29, 2019
898
1
1
Should be as simple as running the build.gradle and then putting it in mods... beyond that I have no idea because I don't know clojure, nor what you're attempting to do with scripting in other languages
 

ljfa

New Member
Jul 29, 2019
2,761
-46
0
Since Clojure runs on the JVM it can access all Java classes and methods. So in theory the possibilities are great.
 

Strikingwolf

New Member
Jul 29, 2019
3,709
-26
1
Since Clojure runs on the JVM it can access all Java classes and methods. So in theory the possibilities are great.
Exactly. Currently I just have setup an easy way to do events, but the possibilities are truly endless. Basically I am building a general way to script in all JVM languages MC things (given a reader and such) :3

@trajing is working on it with me. And ofc it is a PT project

If anyone would be willing to take a look at the general architecture and critique it and such I would be very thankful. Also, I need to figure out what namespaces I would need to refer to...
 

Strikingwolf

New Member
Jul 29, 2019
3,709
-26
1
Here is a built download BTW if anyone wants to try and figure out the namespaces. It will be pointing at the scripts directory for the .clj files. And yes I just hijacked this thread :p
 

trajing

New Member
Jul 29, 2019
3,091
-14
1
Dammit Striking I was going to wait a bit to announce it. :p
Clojure and JRuby are planned, Lua would be nice but is unnecessary.
 

trajing

New Member
Jul 29, 2019
3,091
-14
1
Should be as simple as running the build.gradle and then putting it in mods... beyond that I have no idea because I don't know clojure, nor what you're attempting to do with scripting in other languages
The idea is for something that allows modpack makers to fine-tune some stuff in their pack without having to learn Java. The idea started with JRuby, but I included Clojure to appease @Strikingwolf. My reason for picking JRuby was so that they could use a powerful language that's fairly simple and has a decent learning curve. I mean, how hard is it to understand this?
Code:
puts "Hello, World!"
 

Strikingwolf

New Member
Jul 29, 2019
3,709
-26
1
The idea is for something that allows modpack makers to fine-tune some stuff in their pack without having to learn Java. The idea started with JRuby, but I included Clojure to appease @Strikingwolf. My reason for picking JRuby was so that they could use a powerful language that's fairly simple and has a decent learning curve. I mean, how hard is it to understand this?
Code:
puts "Hello, World!"
Or this!
(println "Hello, World!")

I think we intend this to be a set of scripting languages to use with Minecraft for modpack devs. Clojure would be for more advanced things (multithreading and such) where JRuby would be for the more simple