Giter Club home page Giter Club logo

Comments (7)

KR33PYK1NG avatar KR33PYK1NG commented on May 31, 2024

Same.

from mixingradle.

0-x-2-2 avatar 0-x-2-2 commented on May 31, 2024
dependencies {
    minecraft "net.minecraftforge:forge:${FORGE_VERSION}"
    annotationProcessor 'org.spongepowered:mixin:0.8.2:processor'
}

from mixingradle.

0-x-2-2 avatar 0-x-2-2 commented on May 31, 2024

Just started to mess with FG 3+ and MixinGradle and it seems to be still a little messed up if you don't use the main source set but other than that it seems to be working?

from mixingradle.

Exopandora avatar Exopandora commented on May 31, 2024

I did my testing with the default build.gradle from forge and applied just the changes from the mixingradle readme. When using fg 3.+ it works just fine. Upon switching to fg 4.1.+ it breaks.

from mixingradle.

Exopandora avatar Exopandora commented on May 31, 2024
dependencies {
    minecraft "net.minecraftforge:forge:${FORGE_VERSION}"
    annotationProcessor 'org.spongepowered:mixin:0.8.2:processor'
}

This works but only if i name my refmap file <sourceset>.refmap.json

from mixingradle.

Exopandora avatar Exopandora commented on May 31, 2024

Regarding the previous comment: This causes no issues for a single mod. But when starting the game with multiple mods that were compiled with the same sourceset name it crashes.

from mixingradle.

Exopandora avatar Exopandora commented on May 31, 2024

This can be fixed by adding the following to the build.gradle:

jar {
    rename 'main.refmap.json', '<name>.refmap.json'
}

But isn't there any better way?

from mixingradle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.