neoforged / ModDevGradle

A Gradle plugin for developing Minecraft mods using NeoForge
https://projects.neoforged.net/neoforged/moddevgradle
GNU Lesser General Public License v2.1
33 stars 4 forks source link

runs are missing mixinextras #11

Closed Mari023 closed 4 months ago

Mari023 commented 4 months ago

runs fail if a mixin uses mixinextras feature (e.g. in my case @Local)

adding io.github.llamalad7:mixinextras-neoforge as runtime dependency fixes this

Technici4n commented 4 months ago

@shartte Could it be that NFRT doesn't correctly copy jij'ed mods over to the final jar?

shartte commented 4 months ago

No, NFRT is not involved in that at all. More likely is that for dev, we're not pulling in Mixin Extras as a dependency in the gradle metadata.

On Thu, Jun 6, 2024 at 7:12 PM Technici4n @.***> wrote:

@shartte https://github.com/shartte Could it be that NFRT doesn't correctly copy jij'ed mods over to the final jar?

— Reply to this email directly, view it on GitHub https://github.com/neoforged/ModDevGradle/issues/11#issuecomment-2153024094, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJT6V7JFO2DMSBPODCVCTDZGCKBDAVCNFSM6AAAAABI5DXEN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGAZDIMBZGQ . You are receiving this because you were mentioned.Message ID: @.***>

Technici4n commented 4 months ago

MixinExtras is jij'ed in the universal jar. That is also how it's expected to be loaded in userdev. ;)