tutorial:mappings
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:mappings [2019/05/30 21:39] – [Using mappings] jamieswhiteshirt | tutorial:mappings [2019/06/08 13:49] – [Using mappings] There is more than modCompile now jamieswhiteshirt | ||
---|---|---|---|
Line 9: | Line 9: | ||
In Loom, the mappings define the names for Minecraft classes, fields and methods used in your development environment. These names may vary from one development environment to another depending on the installed mappings. | In Loom, the mappings define the names for Minecraft classes, fields and methods used in your development environment. These names may vary from one development environment to another depending on the installed mappings. | ||
- | Yarn is the default mapping used by Loom. Yarn gradually improves and receives new releases as contributions are accepted. Mappings in Loom are specified using the '' | + | Yarn is the default mapping used by Loom. Yarn gradually improves and receives new releases as contributions are accepted. Mappings in Loom are specified using the '' |
< | < | ||
Line 22: | Line 22: | ||
Loom's '' | Loom's '' | ||
- | * **The ' | + | * **The ' |
* **Yarn names are only applied in a development environment**. Outside a development environment, | * **Yarn names are only applied in a development environment**. Outside a development environment, | ||
+ | |||
+ | ==== Remapping ==== | ||
+ | |||
+ | Remapping is the process of applying mappings to code, transforming from one set of names to another. Both Java source code and compiled Java code can be remapped. It involves changing the names of references according to the mappings, as well as carefully renaming methods to preserve overrides. It does not change what the code does, although it will affect names used in reflection. | ||
+ | |||
+ | [[https:// | ||
==== Obfuscation and deobfuscation ==== | ==== Obfuscation and deobfuscation ==== |
tutorial/mappings.txt · Last modified: 2022/05/22 08:38 by daomephsta