Skip to main content

Module script

Module script 

Source
Expand description

A mod’s Yog Script (src/**/*.ys, *.yns): each source checked by the compiler (yog-script-build), what’s wrong reported at its file, line and column; errors stop the build.

Modules§

jvm
A mod’s Yog Script built for the JVM: a jar per game version the loader SDK runs, made for that version’s Java, each in the .yog as scripts/<mc>/<mod>.jar — the hosts load their own version’s.

Functions§

check
Checks every script of the mod at root (a .yns on each game version it targets); an error when one has errors.