mirror of
https://github.com/architectury/architectury-plugin.git
synced 2026-03-28 04:07:01 -05:00
426e2ccae96051e9bb297e23ee05c51f5e00cdf0
Architectury Plugin
Talk to us on Discord!
Architectury Plugin is a gradle plugin to allow easier multi-modloader set-ups using a common module.
More documentation: Architectury Wiki
Examples
Important Information
EnvironmentandEnvTypeare remapped toOnlyInandDiston forge.
Implementing Platform Specific APIs
Notes: Only works for static methods.

IntelliJ Plugin
https://plugins.jetbrains.com/plugin/16210-architectury
How does it work
Fabric Side:
- Module
fabricdepends on a transformed version ofcommon, which is shaded afterwards - A fake mod is generared, to let fabric load it on the correct class loader and let fabric load its assets
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 class loader and let forge load its assets
Usage
Your gradle version MUST be equals or above 5.5.1, all assets or data should go into the common module, with modloader specific files to their corresponding modules.
Languages
Kotlin
100%