This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
api:migration:neoforge [2023/11/17 04:58] – shedaniel | api:migration:neoforge [2024/05/11 12:37] (current) – clarify file paths in forge-like section juuz | ||
---|---|---|---|
Line 5: | Line 5: | ||
== Acknowledgments == | == Acknowledgments == | ||
- | The bunk of the work on porting Architectury Loom is done by [[https:// | + | The bulk of the work on porting Architectury Loom is done by [[https:// |
==== About MinecraftForge ==== | ==== About MinecraftForge ==== | ||
- | To read more about our support on MinecraftForge and NeoForge, you may read more on the [[api: | + | To learn more about our support on MinecraftForge and NeoForge, you may read on the [[api: |
==== About Yarn ==== | ==== About Yarn ==== | ||
Line 15: | Line 15: | ||
Architectury Loom had always supported Yarn as a mappings option for Forge, and will continue to do so for NeoForge. NeoForge has removed srg mappings as intermediary, | Architectury Loom had always supported Yarn as a mappings option for Forge, and will continue to do so for NeoForge. NeoForge has removed srg mappings as intermediary, | ||
- | Architectury Loom 1.4 adds " | + | Architectury Loom 1.4 adds " |
- Write ATs in Mojang Mappings | - Write ATs in Mojang Mappings | ||
Line 238: | Line 238: | ||
**3. Setup Forge-Like** | **3. Setup Forge-Like** | ||
- | Replace | + | In '' |
<code groovy> | <code groovy> | ||
architectury { | architectury { | ||
Line 258: | Line 258: | ||
**4. Setup Forge** | **4. Setup Forge** | ||
- | Add dependency to the forge-like project, the syntax should be equal to any other common projects. | + | In '' |
<code groovy> | <code groovy> | ||
Line 307: | Line 307: | ||
<code groovy> | <code groovy> | ||
+ | // In forgelike/ | ||
+ | architectury { | ||
+ | forgeLike([" | ||
+ | it.platformPackage " | ||
+ | it.remapForgeLike " | ||
+ | } | ||
+ | } | ||
+ | |||
+ | // In neoforge/ | ||
architectury { | architectury { | ||
neoForge { | neoForge { |