Язык

MixinBooter

MixinBooter

Modrinth

The Mixin Library for 1.8 - 1.12.2.

1.4M загрузок 36 подписчиков обновлено 8mo ago
последняя v10.7 Modrinth
Forge 1.8 – 1.12.2 LibraryUtility

MixinBooter

Allows any mixins that work on mods to work effortlessly on 1.8 - 1.12.2

For Developers:

  • Add CleanroomMC's repository and depend on MixinBooter's maven entry:
repositories {
    maven {
        url 'https://maven.cleanroommc.com'
    }
}

dependencies {

    // Common:
    annotationProcessor 'org.ow2.asm:asm-debug-all:5.2'
    annotationProcessor 'com.google.guava:guava:32.1.2-jre'
    annotationProcessor 'com.google.code.gson:gson:2.8.9'

    // ForgeGradle:
    implementation ('zone.rong:mixinbooter:10.7') {
        transitive = false
    }
    annotationProcessor ('zone.rong:mixinbooter:10.7') {
        transitive = false
    }
    
    // RetroFuturaGradle:
    String mixinBooter = modUtils.enableMixins('zone.rong:mixinbooter:107')
    // modUtils.enableMixins('zone.rong:mixinbooter:10.7', 'mod_id.mixins.refmap.json') << add refmap name as 2nd arg (optional)
    api (mixinBooter) {
        transitive = false
    }
    annotationProcessor (mixinBooter) {
        transitive = false
    }
}

Pseudo-Changelog:

  • As of 4.2, MixinBooter's API has changed and all mods that uses mixins are encouraged to depend on MixinBooter, even those that mixin into vanilla/forge/library classes. To avoid mixin version mismatches with mods crashing trying to implement modded mixins (looking at you VanillaFix). Thanks to @embeddedt recommending and helping me introduce this change!

  • As of 5.0, MixinExtras by @LlamaLad7 is shaded. Available for developers to use.

  • As of 8.0, MixinBooter will now work from 1.8 - 1.12.2. One single build works with all these versions! (TODO: LiteLoader support?)

  • As of 8.4, MixinBooter actively attempts to be compatible with SpongeForge

  • As of 9.2, MixinBooter reinstates the older MixinLoader annotation for 1.8.x usages.

  • As of 10.0, MixinBooter follows Mixin 0.8.7

Tidbits:

  • Consult IEarlyMixinLoader for mixins that affects vanilla, forge, or any classes that is passed to the classloader extremely early (e.g. Guava).
  • Consult ILateMixinLoader for mixins that affects mods.
  • @MixinLoader annotation's , as of 4.2, deprecated. The functionality is akin to ILateMixinLoader. Both can be used at the same time, especially for 1.8.x versions where it is needed.

Версии

Release
10.7
forge · 1.8, 1.8.1, 1.8.2 · 8mo ago
### Changed - Updated MixinExtras from 0.5.0-rc.1 to 0.5.0 **Full changelog between 10.6 and 10.7**:…
545.7k
Release
10.6
forge · 1.8, 1.8.1, 1.8.2 · 15mo ago
### Changed - Updated MixinExtras from 0.5.0-beta.5 to 0.5.0-rc.1 ### Fixed - GsonBuilder#setLenient not existing on older Gson versions **Full changelog…
412.9k
Release
10.5
forge · 1.8, 1.8.1, 1.8.2 · 16mo ago
### Added - Explicit compatibility with checking if Optifine is loaded at coremod stages (for the Context obj) - Hotswap Agent related manifest entries to…
45.7k
Release
10.4
forge · 1.8, 1.8.1, 1.8.2 · 17mo ago
### Changed - Made reading mod metadata quicker and simpler - Updated MixinExtras to 0.5.0-beta.5 ### Fixed - SpongeForge compatibility, due to a Forge…
24.4k
Release
10.3
forge · 1.8, 1.8.1, 1.8.2 · 17mo ago
### Added - Context to `IMixinConfigHijacker` ### Changed - Allowed all mixin configs to be hijacked ### Fixed - Use `JsonReader#setLenient` over…
9.1k
Release
10.2
forge · 1.8, 1.8.1, 1.8.2 · 19mo ago
### Fixed - Specified ordinality on a local capture for when the mixin is applied in brittle contexts **Full changelog between 10.1 and 10.2**:…
33.9k
Beta
10.1
forge · 1.8, 1.8.1, 1.8.2 · 19mo ago
### Fixed - Few certain vanilla classes loading early, breaking some deobfuscation into SRG **Full changelog between 10.0 and 10.1**:…
18.0k
Beta
10.0
forge · 1.8, 1.8.1, 1.8.2 · 19mo ago
### Added - New API (Context) for early/late loaders ### Changed - Updated UniMix, is now updated with Fabric Mixin 0.15.3, Mixin 0.8.7 - Updated to…
1.9k
Release
9.4
forge · 1.8, 1.8.1, 1.8.2 · 21mo ago
### Changed - Updated UniMix - Enable `comformVisibility` to `true` by default - thanks to jbredwards ### Fixed - Compatibility with older ASM libraries -…
39.8k
Release
9.3
forge · 1.8, 1.8.1, 1.8.2 · 22mo ago
33.3k
Beta
9.2
forge · 1.8, 1.8.1, 1.8.2 · 22mo ago
### Changed - Reinstated `@MixinLoader` annotation, primarily for 1.8.x usages as Forge does not support gathering of interfaces ### Fixed - Mixin source files…
9.2k
Beta
9.1
forge · 1.8, 1.8.1, 1.8.2 · 28mo ago
### Changed - Removed fastutil usages, to keep compatibility with Minecraft versions that used different fastutil versions **Full changelog between 9.0 and…
160.0k

Комментарии 0

Пока нет комментариев. Будь первым, кто поделится мнением.