Refer to title. Making a modpack. I wish to massively expand the gas recipes.
I found the gas registry in the code in Kotlin. KubeJS cannot interact with Kotlin, only Java… so unless anyone knows of a way right now that I can’t see!
Actually what am I talking about, if I knew how to mod I’d just do it myself. That’s why I’m here. I need to know how to register more random gases
Like static (object or companion object) fields/methods can be accessed by ClassName.INSTANCE.field/methods
So, I’m still quite new to the modding scene – what does this mean lol
Any Kotlin object class becomes ClassName.INSTANCE
Same for any class including companion object
Tbh, I can make a Kelvin x KubeJS addon tonight
I know how to do it due to making KubeVS which is currently a little broken due to changes in VS
Tbh, itll be even easier with Kelvin due to being an actual MC registry, KubeJS has stuff to handle it
Though that makes sense. If you decide to toss together KelvinJS tonight I’d be rather quite appreciative, up to you of course since I’m a lowly guy who barely knows how to code, just in 3-4 different non-java languages
Nice. So you’re upstream committing to get Kelvin to accept datapack defined gas?
@techtastic Are you sure the gas isn’t a registry? Sorry for the image, can’t open discord on my computer right now, found this in Clockwork’s source.
20260309_143949.jpg
@geyrnauch that class is a wrapper for the maps
Its not a legitimate registry
Ah, I see. Out of curiosity, what is the progress on making the gases something modpack devs can mess with?
I had it made into a datapack but then tragedy struck
It was tied in with a particle type registry and that cannot be datapackable
This conversation is on Discord · Reply there

image.png