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.
- 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()
}
}
- 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'
}
- Instead of
genSources
, you can now usegenSourcesWithQuiltflower
.
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
ormixin.debug.decompile
in your run configurations.
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.
ID | Description | Default |
---|---|---|
isl |
Collapse single-line lambdas | 1 |
jvn |
Use JAD-style local variable naming from ForgeFlower | 0 |
pam |
Pattern matching support | 1 |
tlf |
Experimental fix for interactions between try and loops |
1 |