mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-23 21:40:02 -04:00
Update fabric-loader to replace deprecated methods
This commit is contained in:
parent
d1f89c1d5e
commit
b4f62fb5a7
5 changed files with 7 additions and 7 deletions
|
@ -57,7 +57,7 @@ allprojects {
|
|||
dependencies {
|
||||
minecraft "com.mojang:minecraft:$Globals.mcVersion"
|
||||
mappings "net.fabricmc:yarn:${Globals.mcVersion}${Globals.yarnVersion}"
|
||||
modCompile "net.fabricmc:fabric-loader:0.6.0+build.163"
|
||||
modCompile "net.fabricmc:fabric-loader:0.6.1+build.164"
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
archivesBaseName = "fabric-renderer-indigo"
|
||||
version = getSubprojectVersion(project, "0.1.12")
|
||||
version = getSubprojectVersion(project, "0.1.13")
|
||||
|
||||
dependencies {
|
||||
compile project(path: ':fabric-api-base', configuration: 'dev')
|
||||
|
|
|
@ -42,9 +42,9 @@ public class IndigoMixinConfigPlugin implements IMixinConfigPlugin {
|
|||
if(needsLoad) {
|
||||
for (ModContainer container : FabricLoader.getInstance().getAllMods()) {
|
||||
final ModMetadata meta = container.getMetadata();
|
||||
if (meta.containsCustomElement(JSON_KEY_DISABLE_INDIGO)) {
|
||||
if (meta.containsCustomValue(JSON_KEY_DISABLE_INDIGO)) {
|
||||
indigoApplicable = false;
|
||||
} else if (meta.containsCustomElement(JSON_KEY_FORCE_COMPATIBILITY)) {
|
||||
} else if (meta.containsCustomValue(JSON_KEY_FORCE_COMPATIBILITY)) {
|
||||
forceCompatibility = true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"version": "${version}",
|
||||
"license": "Apache-2.0",
|
||||
"depends": {
|
||||
"fabricloader": ">=0.6.0",
|
||||
"fabricloader": ">=0.6.1",
|
||||
"minecraft": ">=1.15-",
|
||||
"fabric-api-base": "*",
|
||||
"fabric-renderer-api-v1": "*"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"sources": "https://github.com/FabricMC/fabric"
|
||||
},
|
||||
"depends": {
|
||||
"fabricloader": ">=0.6.0",
|
||||
"fabricloader": ">=0.6.1",
|
||||
"minecraft": "1.15.x"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue