Giter Club home page Giter Club logo

sophisticatedmods's Introduction

MultiWorkspace

Setup for a multi-mod workspace

Steps to run in intellij

  • Clone this repo as usual
  • Run following steps for submodules
git submodule init
git submodule update
  • Open as project in IntelliJ using the build.gradle in the root folder
  • Run ideaSyncTask in fabric runs
  • Runs get created but they don't have module selected so when running it for the first time just select .main module of the project that's being run
  • workspace ... runs run minecraft with all the mods in workspace

Additional mods setup

Modify settings.gradle as well as workspace/build.gradle for all your mods. Inside the mods/build.gradle you should have the following construct to make sure the mods are still compilable standalone as well as inside the multi-project:

if (findProject(':McJtyLib') != null) {
    implementation project(path: ':McJtyLib', configuration: 'namedElements')
    
    // Add all mods here that do interface injections
} else {
    modImplementation("com.github.mcjty:mcjtylib:${mcjtylib_version}") {
        transitive = false
    }
}

To setup this project, just open the root (empty) build.gradle as a project in IDEA. Run ideaSyncTask and select the one for the 'workspace' module

sophisticatedmods's People

Contributors

salandora avatar p3pp3rf1y avatar mcjty avatar k-4u avatar willis1030 avatar

Stargazers

 avatar アカシイ - Akashii avatar

Watchers

 avatar

Forkers

langyuemc

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.