Home

Awesome

loom-quiltflower-mini

Maven metadata

loom-quiltflower-mini is deprecated. Please update your Loom to 0.11 or newer and use loom-quiltflower, which is much more customisable.


A Loom addon that adds Quiltflower as a Loom decompiler for Loom 0.10.

This is a separate plugin from the "real" loom-quiltflower because Loom 0.10 essentially removed the decompiler API as it is used in loom-quiltflower. This plugin has less configuration options but should still be completely fine for most users.

Getting started

  1. Add the Cotton maven repository to settings.gradle:
  pluginManagement {
      repositories {
          maven {
              name = 'Fabric'
              url = 'https://maven.fabricmc.net/'
          }
+         maven {
+             name = 'Cotton'
+             url = 'https://server.bbkr.space/artifactory/libs-release/'
+         }
          gradlePluginPortal()
      }
  }
  1. Add loom-quiltflower to your plugins:
  plugins {
      id 'fabric-loom' version '0.10-SNAPSHOT'
+     id 'io.github.juuxel.loom-quiltflower-mini' version '1.3.0'
      id 'maven-publish'
  }
  1. Instead of genSources, you can now use genSourcesWithQuiltflower.

Configuration

Runtime classpath

Added in LQFm 1.1.0.

You can add Quiltflower to the runtime classpath with a single property to use it for decompiling mixins:

quiltflower {
    addToRuntimeClasspath.set(true)
}

You also need the system property mixin.debug or mixin.debug.decompile in your run configurations.

Decompiler options

The options passed to Quiltflower can be configured using their three-letter IDs.

genSourcesWithQuiltflower {
    // fake option: don't try at home
    options.put('abc', '123')
}

There are some Quiltflower-specific flags that are listed below. Note that 1 means true/enabled and 0 means false/disabed.

IDDescriptionDefault
islCollapse single-line lambdas1
jvnUse JAD-style local variable naming from ForgeFlower0
pamPattern matching support1
tlfExperimental fix for interactions between try and loops1