




Just added 9×9 mechanical crafting to the GUI, and I didn't realize just how mental it would look until I tested it out when the feature worked correctly.
Info:
Mod: KubeJS GUI (On Modrinth/CurseForge)
Version: NeoForge/Forge 1.20.1
As some of you saw, I posted a video of me showcasing a GUI mod I clobbered together because I was too lazy to write hundreds of lines of JavaScript for recipes for a modpack i was making. To recap a lot of people really liked it, so i posted it on Modrinth and CurseForge. I've been focusing on integration with the Create mod and Farmer's delight as those have been the most requested. I don't rely on the integration addons for these mods and KubeJS, this is a standalone mod that technically doesn't need KubeJS to even function (your recipe scripts just won't run if you don't have KubeJS installed but the scripts still generate), so I have the freedom to add support for any mod regardless if it has a KubeJS integration addon.
Current mods that have support:
– Vanilla Minecraft
– Create
– Farmers Delight (both cooking and cutting work)
– Any mod's recipe will work IF the JavaScript recipe script only requires an input and output array, if it requires some other parameters, then it wont work as its not in the generic script template i made. I have to add them manually. But its pretty painless
– Basically any modded items work as input and output.
Limitations:
– No anvil recipes
– Some recipes might not work, but most of the important ones do, MOST
– No fluid support yet.
– No sequenced assembly yet for Create
– Farmers Delight Cooking doesn't have support for bowls or fluids
Just to reiterate what I said in the previous post, I am not a professional programmer, I am an engineer, and barely know JavaScript, and barely know what I'm doing. Yes I do use ChatGPT for help, no sane person would know whats going on, JavaScript is really just THAT bad. No shame in using an amazing tool like that, my goal is to create a functional tool, not to try and sell everyone the idea that I'm some master programmer. Even with that said, it does take a lot of time to implement changes and fixes, as I manually debug them and only ask the bot for help on syntax and creating methods.
I wont have the time to be quick on responding, so here are some frequently asked questions:
Will it be updated to 1.21.1? : Yes, after this dumpster-fire of a mod reaches some sort of stable release.
Will you port to Fabric? : Probably not, that is a lot of work and i have no clue how to do that, I am an amateur still learning JavaScript.
Can you add [Mod name] support to the mod? : If it introduces at least 1 new recipe type (like Create does) then probably yes.
Why is it not working in my modpack? : I am even more clueless than you, probably another mod interfering with the GUI (I really hope i fixed it in the latest build, last time Immersive engineering would just stop it from working)
Can you add a dropdown menu in stead of cycling buttons? : Probably a no, I cant find any library or method to achieve this. I know, bummer, I will add the ability to cycle forward/backward depending on what mouse button you clicked. Its silly, I know.
Anyway, this post has gotten way too long, I have to go to bed, I'll respond to any comments in the morning. Hope you guys find the 9×9 just as amusing as i did.
by TiccBread