User Tools

Site Tools


documentation:fabric_loom

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:fabric_loom [2023/07/05 10:34] modmuss50documentation:fabric_loom [2026/05/16 20:40] (current) cassiancc
Line 1: Line 1:
 +~~REDIRECT>https://docs.fabricmc.net/develop/loom/~~
 ====== Fabric Loom ====== ====== Fabric Loom ======
  
Line 5: Line 6:
 ==== Useful tasks ==== ==== Useful tasks ====
  
-  * ''migrateMappings'': Migrates the current source to the specified mappings. See [[tutorial:migratemappings]].+  * ''migrateMappings'': Migrates the current source to the specified mappings. See [[https://docs.fabricmc.net/develop/migrating-mappings|the Docs page]].
   * ''remapJar'': Produces a jar containing the remapped output of the ''jar'' task. Also appends any included mods for jar-in-jar. Called when running ''build''.   * ''remapJar'': Produces a jar containing the remapped output of the ''jar'' task. Also appends any included mods for jar-in-jar. Called when running ''build''.
   * ''genSources'': Decompile the minecraft jar using the default decompiler (CFR).   * ''genSources'': Decompile the minecraft jar using the default decompiler (CFR).
Line 262: Line 263:
   - Adds dependencies of Minecraft.   - Adds dependencies of Minecraft.
   - Downloads Minecraft assets.   - Downloads Minecraft assets.
-  - Processes and includes mod-augmented dependencies (and optionally extracts and remaps nested JARs).+  - Processes and includes mod-augmented dependencies.
  
 ==== Caches ==== ==== Caches ====
Line 275: Line 276:
   * ''minecraft'': Defines the version of Minecraft to be used in the development environment.    * ''minecraft'': Defines the version of Minecraft to be used in the development environment. 
   * ''mappings'': Defines the mappings to be used in the development environment.   * ''mappings'': Defines the mappings to be used in the development environment.
-  * ''modCompile'', ''modImplementation'', ''modApi'' and ''modRuntime'': Augmented variants of ''compile'', ''implementation'', ''api'' and ''runtime'' for mod dependencies. Will be remapped to match the mappings in the development environment and has any nested JARs removed. Nested JARs can optionally be extracted and remapped.+  * ''modCompile'', ''modImplementation'', ''modApi'' and ''modRuntime'': Augmented variants of ''compile'', ''implementation'', ''api'' and ''runtime'' for mod dependencies. Will be remapped to match the mappings in the development environment and has any nested JARs removed.
   * ''include'': Declares a dependency that should be included as a jar-in-jar in the ''remapJar'' output. This dependency configuration is not transitive. For non-mod dependencies, Loom will generate a mod JAR with a fabric.mod.json using the name as the mod ID and the same version.   * ''include'': Declares a dependency that should be included as a jar-in-jar in the ''remapJar'' output. This dependency configuration is not transitive. For non-mod dependencies, Loom will generate a mod JAR with a fabric.mod.json using the name as the mod ID and the same version.
  
documentation/fabric_loom.1688553290.txt.gz · Last modified: 2023/07/05 10:34 by modmuss50