Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/architectury/architectury-plugin
A simple gradle plugin to enable developing multiplatform mods.
https://github.com/architectury/architectury-plugin
fabric forge gradle gradle-plugin kotlin minecraft remap
Last synced: about 19 hours ago
JSON representation
A simple gradle plugin to enable developing multiplatform mods.
- Host: GitHub
- URL: https://github.com/architectury/architectury-plugin
- Owner: architectury
- License: mit
- Created: 2020-10-03T17:49:56.000Z (about 4 years ago)
- Default Branch: 3.4
- Last Pushed: 2024-12-07T14:47:36.000Z (19 days ago)
- Last Synced: 2024-12-16T02:50:39.626Z (11 days ago)
- Topics: fabric, forge, gradle, gradle-plugin, kotlin, minecraft, remap
- Language: Kotlin
- Homepage:
- Size: 236 KB
- Stars: 55
- Watchers: 7
- Forks: 19
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Architectury Plugin
Talk to us on [Discord](https://discord.gg/C2RdJDpRBP)!Architectury Plugin is a gradle plugin to allow easier multi-modloader set-ups using a common module.
More documentation: [Architectury Wiki](https://architectury.github.io/architectury-documentations/docs/architectury_plugin/)
### Example Mod
- [Architectury Example Mod](https://github.com/architectury/architectury-example-mod)### Important Information
- `Environment` and `EnvType` are remapped to `OnlyIn` and `Dist` on forge.### Implementing Platform Specific APIs
_Notes: Only works for static methods._
![](https://media.discordapp.net/attachments/586186202781188108/776428814309785620/unknown.png?width=1191&height=439)### IntelliJ Plugin
https://plugins.jetbrains.com/plugin/16210-architectury### How does it work
Fabric Side:- Module `fabric` depends on a transformed version of `common`, which is shaded afterwards
- A fake mod is generared, to let fabric load it on the correct class loader and let fabric load its assetsForge Side:
- Module `forge` depends on a transformed version of `common`, 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.