Update fabric-loader to replace deprecated methods

This commit is contained in:
modmuss50 2019-08-28 22:17:50 +01:00
parent d1f89c1d5e
commit b4f62fb5a7
5 changed files with 7 additions and 7 deletions
build.gradle
fabric-renderer-indigo
build.gradle
src/main
java/net/fabricmc/indigo
resources
src/main/resources

View file

@ -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 {

View file

@ -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')

View file

@ -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;
}
}

View file

@ -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": "*"

View file

@ -13,7 +13,7 @@
"sources": "https://github.com/FabricMC/fabric"
},
"depends": {
"fabricloader": ">=0.6.0",
"fabricloader": ">=0.6.1",
"minecraft": "1.15.x"
}
}
}