mirror of
https://github.com/architectury/architectury-plugin.git
synced 2026-03-28 12:17:00 -05:00
68d1fe65fcb93c2ca56502b324174d63bb1c08b3
Architectury Plugin
Talk to us on Discord!
Architectury Plugin is a gradle plugin to allow easier multi-modloader set-ups using a common module.
Examples
Important Information
EnvironmentandEnvTypeare remapped toOnlyInandDiston forge.
Implementing Platform Specific APIs
Notes: Only works when architectury api is loaded and for static methods.

How does it work
Fabric Side:
- Module
fabricdepends on a transformed version ofcommon, which is shaded afterwards
Forge Side:
- Module
forgedepends on a transformed version ofcommon, which is shaded afterwards - A fake mod is generated, to let forge load it on the correct mod loader and let forge load its assets
Usage
Your gradle version MUST be 5.5.1, all assets or data should go into the common module, with modloader specific files to their corresponding modules.
Languages
Kotlin
100%