User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

tools:yarn [2019/11/08 03:27] (current)
liach created
Line 1: Line 1:
 +====== Yarn ======
 +See [[https://​​FabricMC/​yarn/#​yarn|readme]] for more information.
 +Yarn depends on [[enigma]] and [[stitch]].
 +===== Usage =====
 +See [[documentation:​yarn]].
 +==== Contributing mappings ====
 +<​code>​gradlew yarn</​code>​
 +and the enigma user interface will appear. Edit the mappings; when you are ready, save it in enigma, commit in git (preferably in a custom branch), and submit a pull request.
 +If you have changes done manually/​from github suggestions,​ merge the remote branch, close enigma, and run the command again so that enigma can have the updated mapping contents.
 +==== Using mappings in mods ====
 +See [[tutorial:​mappings]].
 +==== Building mapped jars for decompilers ====
 +Though enigma comes with procyon, you may want other decompilers to decompile the Minecraft jar with yarn names. Run
 +<​code>​gradlew mapNamedJar</​code>​
 +After running the gradle task, a <​version>​-named.jar will be available, which you can put into your desired decompiler.
tools/yarn.txt ยท Last modified: 2019/11/08 03:27 by liach