mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-13 01:57:36 +00:00
f0b44fa63fc4f2606df1df24f9d2f1fcfa0f42ff
Mixin is a trait/mixin framework for Java using ASM and hooking into the runtime class-loading process via Mojang's LegacyLauncher system. The main documentation for Mixin can be found in the Wiki.
Building Mixin
Mixin uses the Gradle build automation system. To perform a build simply execute
gradle
from within the project root directory.
Integration with Eclipse IDE
The Mixin project can be integrated easily with Eclipse using the Gradle
Plugin.
Simply choose Import -> Gradle Project and follow the prompts.
When developing using Mixin, you can use the Mixin Annotation Processor within Eclipse to provide context-sensitive errors and warnings to help you more easily troubleshoot your mixins. To do so:
- Run the
gradle buildcommand to generate the mixin jar - Open the properties of your eclipse project and navigate to
Java Compiler->Annotation Processing->Factory Path - Check the
Enable project specific settingscheckbox - Click the
Add External JARsbutton and select the generated mixin jar - Navigate up one level to
Java Compiler->Annotation Processing - Check the
Enable project specific settingscheckbox - Check the
Enable annotation processingcheckbox - Click the
New...button next to theProcessor optionsbox
- Set
Keyto reobfSrgFile - Set
Valueto the fully-qualified path to themcp-srg.srgfile
- Click
OKto apply the changes
Version History
| Version | Features / Changes | Date |
|---|---|---|
| 0.1 |
|
January 2015 |
| 0.2 |
|
March 2015 |
Description
Mirror of github.com/LegacyModdingMC/UniMix for CI submodule fetch
9 MiB
0 Stars
2 Watchers
0 Forks
Languages
Java
99.6%
Groovy
0.4%
