Skip to content

[7.0] MixinExtras does not appear on the compile classpath #1026

Closed

Description

@Tslat

After a few discussions regarding MixinExtras, I'm not sure what conclusion to come to regarding the use of MixinExtras in FG7.

I have an example ML repo here that has a forge branch, and I'm not entirely sure if I'm doing something wrong, not doing something, or if something is broken in FG that prevents MixinExtras from working on only the Forge module?

https://github.com/Tslat/TslatEntityStatus/tree/main

Maybe a short documentation page or something on how to enable/use this in FG7 would help myself and other users

Activity

  1. LexManos commented on Dec 24, 2025

    @LexManos
    Member

    The MDKExample repo has an example on enabling Mixins.
    Any build above the MinecraftForge/MinecraftForge@41609a0 should automatically load MixinExtras at runtime if you have a mixin config.
    Only thing you need beyond that is adding the compileOnly dependency as described in the MixinExtras wiki.

  2. Tslat commented on Dec 24, 2025

    @Tslat
    Author

    Seems to be working I think maybe

  3. Jonathing commented on Dec 24, 2025

    @Jonathing
    Member

    I am re-opening this because MixinExtras not being added as a compile-scope dependency is a bug that I derped somewhere in Mavenizer.

    The confusing conversation that happened as a result of this was phrasing the issue as a question. Please say "MixinExtras is not working" rather than "unclear how to use MixinExtras". We can correct misunderstandings better this way.

  4. Jonathing commented on Dec 24, 2025

    @Jonathing
    Member

    And also lack of documentation, which I am working on.

  5. changed the title [-][7.0+] Unclear on how to utilise/activate MixinExtras[/-] [+][7.0] MixinExtras does not appear on the compile classpath[/+] on Dec 24, 2025
  6. Jonathing commented on Dec 24, 2025

    @Jonathing
    Member

    Fixed in ForgeGradle 7.0.0-rc.2 (see 8a7de14).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions