mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 13:37:45 -05:00
Deprecate mixinConfig in favor of mixinConfig method to add to the list
This commit is contained in:
@@ -81,6 +81,7 @@ public class LoomGradleExtension {
|
||||
public File accessWidener = null;
|
||||
public Function<String, Object> intermediaryUrl = mcVer -> "https://maven.fabricmc.net/net/fabricmc/intermediary/" + mcVer + "/intermediary-" + mcVer + "-v2.jar";
|
||||
public boolean shareCaches = false;
|
||||
@Deprecated
|
||||
public String mixinConfig = null; // FORGE: Passed to Minecraft
|
||||
public List<String> mixinConfigs = null; // FORGE: Passed to Minecraft
|
||||
public boolean useFabricMixin = false; // FORGE: Use Fabric Mixin for better refmap resolutions
|
||||
@@ -163,6 +164,10 @@ public class LoomGradleExtension {
|
||||
public List<String> getTasksBeforeRun() {
|
||||
return tasksBeforeRun;
|
||||
}
|
||||
|
||||
public void mixinConfig(String config) {
|
||||
mixinConfigs.add(config);
|
||||
}
|
||||
|
||||
public void silentMojangMappingsLicense() {
|
||||
this.silentMojangMappingsLicense = true;
|
||||
|
||||
Reference in New Issue
Block a user