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/06/01 18:48] – Add Remapping jamieswhiteshirt | tutorial:mappings [2019/10/10 18:57] – Custom mappings liach | ||
---|---|---|---|
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, | ||
+ | |||
+ | |||
+ | === Custom mappings === | ||
+ | |||
+ | You can use custom tiny mappings for Fabric Loom for your Gradle project setup. | ||
+ | |||
+ | For example, if you have a custom branch of yarn which you want to use for mappings, you can build yarn with " | ||
+ | |||
+ | < | ||
+ | dependencies { | ||
+ | mappings fileTree(dir: | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | You can change the directory where you put mapping to have any custom name; just change the name in " | ||
==== Remapping ==== | ==== Remapping ==== |
tutorial/mappings.txt · Last modified: 2022/05/22 08:38 by daomephsta