/GlowBerry

Kubejs script base with recipe schemas and globalized utils

Primary LanguageJavaScriptMIT LicenseMIT

GlowBerry

Originally made for Ironberry Modpack

KUBEJS script-base

How to use:

Startup Side

Direct link

Server Side

Direct link

Client Side

[NotYetCompleted]

GitHub Side

How to make a custom Schema

  • 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 modname and mod-id based on previous mod name

  • Clone .exampleSchema.js.disabled on server scripts

  • Change modname with your mod name on line 9

  • Change modname with your mod name and functionName with 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!

Do you want contribute? Send it as pull request on GITHUB!