Git Product home page Git Product logo

fml-loom's Introduction

FishModLoader Loom

A Gradle plugin to setup a deobfuscated development environment for Minecraft Is Too Easy(MITE) mods. Primarily used in the FishModLoader toolchain.

  • Has built in support for tiny mappings
  • Utilises the Fernflower and CFR decompilers to generate source code with comments.
  • Designed to support modern versions of Minecraft (Tested with 1.14.4 and upwards)
  • Built in support for IntelliJ IDEA, Eclipse and Visual Studio Code to generate run configurations for MITE.
  • Loom targets the latest version of Gradle 7 or newer
  • Supports Java 16 upwards

Use FML-Loom to develop MITE mods

To get started developing your own mods please follow the guide on Setting up a mod development environment.
But some of the code need to be changed to work with MITE

Debugging Loom (Only needed if you want to work on Loom itself)

This guide assumes you are using IntelliJ IDEA, other IDE's have not been tested; your experience may vary.

  1. Import as a Gradle project by opening the build.gradle
  2. Create a Gradle run configuration to run the following tasks build publishToMavenLocal -x test. This will build Loom and publish to a local maven repo without running the test suite. You can run it now.
  3. Prepare a project for using the local version of Loom:
    • A good starting point is to clone the fml-example-mod into your working directory
    • Add mavenLocal() to the repositories:
      • If you're using id 'fml-loom' inside plugins, the correct repositories block is inside pluginManagement in settings.gradle
      • If you're using apply plugin: for Loom, the correct repositories block is inside buildscript in build.gradle
    • Change the loom version to 0.1.local. For example id 'fml-loom' version '0.1.local'
  4. Create a Gradle run configuration:
    • Set the Gradle project path to the project you have just configured above
    • Set some tasks to run, such as clean build you can change these to suit your needs.
    • Add the run configuration you created earlier to the "Before Launch" section to rebuild loom each time you debug
  5. You should now be able to run the configuration in debug mode, with working breakpoints.

fml-loom's People

Contributors

modmuss50 avatar asiekierka avatar juuxel avatar magneticflux- avatar gegy avatar shedaniel avatar natanfudge avatar vxlbot avatar logicfan avatar zml2008 avatar jpenilla avatar shadowfacts avatar chocohead avatar jamierocks avatar jaredlll08 avatar nikkyai avatar xiaoyuovo avatar shartte avatar lukebemish avatar i509vcb avatar liach avatar haykam821 avatar rdil avatar thecatcore avatar jt122406 avatar earthcomputer avatar pyrofab avatar octylfractal avatar alexiil avatar sdegoeij avatar

Watchers

 avatar

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.