Skip to main content

Crate yog_script_build

Crate yog_script_build 

Source
Expand description

Yog Script’s compiler: a source checked (check_source — read, its names resolved; with the generator, compiled), against the class index of the Minecraft versions it targets (index, built from the game’s jars, read with classfile). It knows sources, not projects: the Yog CLI hands it a mod’s, the yog-script tool any.

Modules§

index
The class index of a Minecraft version (yog_script_analyze::index), built from the game’s own client and server jars (Mojang’s names: an obfuscated version’s renamed by its mappings) and kept in Yog’s cache. A class in both jars is shared, in one only that side’s.

Functions§

check_source
What’s wrong with the source text of the file name (.ys, .yns).