Originally made for Ironberry Modpack
KUBEJS script-base
How to use:
[NotYetCompleted]
-
Open startup scripts
-
Add a new field on global.startup.mods based on mod name equal
Boolean -
Add a new field on global.server.recipes.compat based on json type name equal
Function -
Clone line 94 removing slash comment and replace
modnameandmod-idbased on previous mod name -
Clone .exampleSchema.js.disabled on server scripts
-
Change
modnamewith your mod name on line 9 -
Change
modnamewith your mod name andfunctionNamewith your json type name on line 11 -
Insert all parameters inside the brackets on line 11
-
Insert your code on line 13
-
(Optional) If you are using VScode you can use @param to add a preview of what was the input parameters example
-
To add multiple json types you can repeat same process as before note: if modname still same isn't need to recreate!